New features in Javascript ES2015 (ES6)

Arrow Functions

var dostuff = function( arg ) { do stuff }; can be written as var dostuff = ( arg ) => { do stuff };

Let & Const

We nolonger use var, we now use let. Meanwhile, const is used for constants that can NEVER be changed.

Templ

...

Continue reading...