Axel Rauschmayer
Follow

Object.create(null) for dictionaries is only safe in ES6+ (prior to ES6, you have to escape the key '__proto__'). speakingjs.com/es5/ch17.html#d

Don’t forget there’s also Map! exploringjs.com/es6/ch_maps-se

Sign in to participate in the conversation
Mastodon

Generalistic and moderated instance. All opinions are welcome, but hate speeches are prohibited. Users who don't respect rules will be silenced or suspended, depending on the violation severity.