-
JavaScript’s two array types
Imagine a
BitSet
constructor with an overloaded API for setting bits:var bits = new BitSet(); bits.set(4); bits.set([1, 4, 8, 17]);
-
Tweaking the JavaScript AST API
A couple years ago I created a JavaScript parser API and implemented SpiderMonkey’s Reflect.parse library. Since then, there have been a couple of pure JavaScript implementations of the API, including Zach Carter’s reflect.js and Ariya Hidayat’s Esprima parser.
-
Static module resolution
I haven’t spoken enough about the rationale for declarative, static module resolution in ES6 modules. Since multiple module systems exist in pure JS, the concept of modules that involve new syntax is coming across as foreign to people. I’d like to explain the motivation.