p={update=function(} print("hello") end}
I can call the function within p using p.update() outside the table.
How do I call unnamed functions though? i.e.
p={function(} print("hello") end}
If I know the index of the function, 1 in this case, can I use that in my function call? like p1? I've tried some variations of this to no success.