Javascript JS ES2015 - sinsunsan/archiref_wiki GitHub Wiki

ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard. ES6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009. Implementation of these features in major JavaScript engines is underway now.

New Features

Let & const (instead of var)

  • Const a constant cannot be changed
  • Let a variable but that don't do hoisting, than is trully block scoped

Read more :

Arrow function

  • A new way more concise to declare function
  • no function this context (no more that = this) ...

Read more :

Babel

To convert new code in old js and develop in ES6 now

typescript