Lua - table.insert not working
snippet in lua

Lua - table.insert not working

user356

> t = {1,2,3}
> setmetatable(t, {__index=table})
> t:insert(9)
> print (t[4])
9