`-0` is coerced to `"0"` when used as a key: var o = { '-0': 'a', '0': 'b' }; o[-0] // 'b'
-
-
Replying to @jdalton
@jdalton https://mathiasbynens.be/notes/javascript-properties … This is one of the reasons I quote property names in object literals.1 reply 3 retweets 3 likes -
Replying to @mathias1 reply 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.

