Javascript ES6

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

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 seearrow-up-right

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 MSDNarrow-up-right Destructuring limits writing code by intrinsically accessing the desired element

Classes

MSDNarrow-up-right

Last updated