ES6 syntax the best parts
Where to find info about ES6 new syntax and features
Classes
Class are used everywhere in Angular, so worth double reading the manual of javascript class in ES6.
`;`` in class are allowed but ignored
we can use getter of setter (that is not an angular syntax but an ES6 one )
Destructuration
instead of
Fat arrow syntax
2 use cases of spread operator
Defaulting an object
with lodash the equivalent would be
Concatenating arrays
Modules and imports
Async / Await
Last updated