Loading lesson path
The second major revision to JavaScript. ECMAScript 2015 is also known as ES6. New Features in JavaScript 2015 (ES6)
{a,b} = Operator
Assigns object properties to variables (object destructuring)
[a,b] = Operator
Assigns array values to variables (array destructuring)... OperatorSpreads an array or iterable into individual elements
Formula
Object with key - value pairs, similar but different from objectsObject representing the completion of an asynchronous operation
A unique "hidden" identifier that no code can access
Allows functions to treat an indefinite number of arguments String.includes() Returns true if a string contains a specified value String.startsWith() Returns true if a string begins with a specified value String.endsWith() Returns true if a string ends with a specified value
Formula
Returns an iterator key/value pairs from an arrayArray.from()
Returns an iterator with the keys of an array