Hacker News new | past | comments | ask | show | jobs | submit login

I wish JavaScript had linked hash maps as default so that JSON would not require arrays to keep the order of objects!

Hierarchies would not have to look like this: http://root.rupy.se/meta/user/task/563541707719927980




Javascript already does retain insertion order (except for special casing of things like integer keys)

JSON objects, however, have unordered keys.

JSON != Javascript.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: