3 ms·
Or they could have just made {[myObject]: myValue} "just work" as opposed to doing this crap: {"[object Object]": myValue} Lua tables are really simple
by anonytrary 8y ago
Or they could have just made
{[myObject]: myValue}
"just work" as opposed to doing this crap:
{"[object Object]": myValue}
Lua tables are really simple and let you use references as keys.
- always_good 8y agoEh, special-casing specific syntax over regular objects would be a nightmare.