3 ms·
> While you can use any value as an object property key in JavaScript Strings and Symbols only. Everything else is converted to a string, which works most of
by Izkata 8y ago
> While you can use any value as an object property key in JavaScript
Strings and Symbols only. Everything else is converted to a string, which works most of the time for lookups, but can fail depending on the stringification or if you're pulling keys back out of the object.