As of ECMAScript 2015 (ECMA-262 6th Edition / June 2015), Map
s (the spec and MDN docs) can be used to store objects —or any other "arbitrary ECMAScript language values"— as keys.
3 Matching Annotations
- Jul 2018
-
www.hacksparrow.com www.hacksparrow.com
-
- Mar 2016
-
johnpapa.net johnpapa.net
Tags
Annotators
URL
-
- Jan 2016
-
medium.com medium.com
-
ES6 modules are supposed to be statically analyzable (runtime cannot change the exports/imports) so it can’t be dynamic
-