What are your favorite JavaScript ES6 features?
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:
- Arrow functions
- Modules
- Destructuring
- Generators
- Promises
- Template literals
- Spread operator
- New object literal features (including method definitions)
let
andconst
- Rest parameters
Comments
Post a Comment