3 ms·
Lua tables are not an implementation detail. They are the one and only complex data type in Lua and everything (including OO) is built on top of them.
by Derbasti 14y ago
Lua tables are not an implementation detail. They are the one and only complex data type in Lua and everything (including OO) is built on top of them.
- simonster 14y agoObjects are the only complex data type in JavaScript (sans E4X). Arrays are objects (typeof (new Array()) === "object"), and prototypical inheritance is built on top of objects.