What are your favorite JavaScript ES6 features?

[2015-07-21] esnext, dev, javascript
(Ad, please don’t block)

I’ve created a survey to find out what ES6 (a.k.a. ECMAScript 2015) features people like most:

I previously asked the same question on Twitter and one feature stood out: Classes were the only feature that some people disliked, but they were also liked by a few people (I cover their pros and cons in “Exploring ES6”). On Twitter, the top 10 most liked features were:

  1. Arrow functions
  2. Modules
  3. Destructuring
  4. Generators
  5. Promises
  6. Template literals
  7. Spread operator
  8. New object literal features (including method definitions)
  9. let and const
  10. Rest parameters