Javascript ES6

Udemy course ES6 Javascript Development from scratch. Get practice with live examples and learn exactly where to apply ES6 features.

Variable declaration

let: ES6 compliant non-constant const: ES6 compliant constant var: pre ES6, still valid

Array Helpers

For Each

Map Helper

Map-Helper

Filter Helper

Filter-Helper

Find Helper

Find-Helper

function balancedParens(prev, parStr) {

}

Every and Some Helper

Every returns a boolean for every element evaluated and compared with AND

Every-Helper

Some returns a boolean comparing every element with OR

Some-Helper

Reduce Helper

The reduce helper runs a callback function on each element of an array passing in the previous value as an argument ot the next run. An initial value can be provide see

Rest and Spread Helper

The rest takes any arguments given to a function and store them in a array, it is invoked with ...

The Spread helper is very similar to the rest helper and returns the flattened array

Destructuring

see MSDN Destructuring limits writing code by intrinsically accessing the desired element

Classes

MSDN

Last updated