My goal is to pick out a random item from a table in Lua.
This is what I\'ve got so far, but it currently does not work:
local myTable = { \'a\', \'b\',
function randomObjectFromTable(t) return t[math.random(1, #t)] end