3 ms·
JSON doesn’t support non-String keys, for one thing.
by cytzol 8y ago
JSON doesn’t support non-String keys, for one thing.
- singularity2001 8y agoJS does
- jscissr 8y agoActually no, all keys are strings in JS, and if you use something that isn't a string as a key, it is converted to a string (unless you meant Maps[1], which don't use object notation). [1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map https://developer.mozilla.org/docs/Web/JavaScript/Reference/...
- jscissr 8y agoOk, I forgot Symbol, so you were correct.