ECMAScript 6

As I mentioned in the begin of the book, about the standard community behind managing standards of JavaScript.

With ECMAScript version 6 they bring many new features which solve some existing problems with previous versions like scoping issue with 'var'along with some static sugar keyword like'class' brings to the object-oriented flavor to JavaScript. In previous versions, it is achievable by using functions only. Few new feature like lambda function or know as arrow function to give more functional programming approach to JavaScript. Arrow functions will seem like just syntactic sugar, but they resolve some issue with scoping with that occur with normal functions.

Is ECMAScript 6 is ready? well, this question comes into your mind. As eagerness to use new features or newly introduced features help in resolving pain points of previous versions. To figure out this one of the good resources you can looks is this page https://kangax.github.io/compat-table/es6/ it gives a good overview about which browser supports latest ECMAScript version along with specific details about what functionality difference between newer and previous version of JavaScript.

Even the latest version of the standard browser has added the support for the ES 6, but if you develop your application using new features. it will work fine on the new browsers but, still a large number of client base who are using a device in which latest browser support is not available or mobile device where support for the latest standard is not yet fully provided cause your application to be in broken state.

To overcome such limitation, js community comes with various solutions. which not only provide ways to use the latest feature but also provide concepts, patterns & libraries/frameworks to support scalable applications. We will look in the following sections about such diverse solutions.

Before learning about such solutions, let understand, what new weapons bring into our arsenal by this standard.

results matching ""

    No results matching ""