Table insert gives a nil error
snippet in lua

Table insert gives a nil error

user6868

> table.insert({},1)
> table = {}
> table.insert({},1)
stdin:1: attempt to call field 'insert' (a nil value)
stack traceback:
    stdin:1: in main chunk
    [C]: ?