Introducing ESNext

Back in the day, when you had to write custom code to support old versions of IE it was called a hack. Not any more! The despised hack has become the vaunted Polyfill and those of us who work on the web are moving forward whether the browser vendors or various standards groups are ready.

Many major web frameworks are either offering optional support for ESNext features & syntax or directly requiring them. React.js and Ember.js both provide the option to enable ESNext features in your applications while directly using them inside their codebase. Polymer is basically Polyfills and new syntax all the way down.

ES6 brings a bunch of convenient helper functions to the core classes. Most of these are pretty boring, but you can read more about them and get the polyfills on the es6-shim repository.

ESNext is a pretty large concept. We can't even say "ES6" any more because "ES7" proposals are starting to arrive already. I'm going to break the new features into two categories: new APIs and new syntax.

This series of articles will talk about the ones we personally find interesting. Maps, Sets, Promises, Fat Arrow Functions, Destructuring and whatever else we find along the way. If you want to follow along on your own machine, you can find a ES6 Transpiler for your build tool of choice here.

First up, are Maps.


The free and fair internet is under threat.
Help us protect net neutrality.