Javascript ES6
Variable declaration
let: ES6 compliant non-constant const: ES6 compliant constant var: pre ES6, still valid
Array Helpers
For Each
Map Helper

Filter Helper

Find Helper

function balancedParens(prev, parStr) {
}
Every and Some Helper
Every returns a boolean for every element evaluated and compared with AND

Some returns a boolean comparing every element with OR

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
Last updated