lua, jak uzyskać losowy obiekt z tabeli

local example = {"i","am","so","bored"}
local randomObject = example[math.random(1, #example)]
dog