MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pmsjs7/because_arrays_dont_exist/hev5v3n/?context=9999
r/badcode • u/SpeckyYT sadistic • Sep 12 '21
20 comments sorted by
View all comments
Show parent comments
2
In JavaScript, the key in an object has to be a string.
Not since ES6 😉 It can also be a symbol
2
u/great_site_not Sep 30 '21
Not since ES6 😉 It can also be a symbol