mherkender / lua.js

An ECMAscript framework to compile and run Lua code, allowing Lua to run in a browser or in Flash
http://blog.brokenfunction.com/
600 stars 73 forks source link

next() function unsupported #33

Open stuta opened 10 years ago

stuta commented 10 years ago

Hello.

I tried to test if table is empty with "if next(tbl) == nil" but nex() function is unsupported. This is no a big deal, I can use pairs() to test for empty table.

Great library, thanks!