-Syntactic sugar is one of the most significant drivers in ES6. The new version offers a shorter ways of expressing object inheritance, using the new class syntax; functions, using a shorthand syntax known as arrow functions; and properties, using property value shorthands. Several other features we'll explore, such as destructuring, rest and spread, also offer semantically sound ways of writing programs. Chapters pass:[<a data-type="xref" data-xrefstyle="select:labelnumber" href="#ecmascript6">#ecmascript6</a>] and pass:[<a data-type="xref" data-xrefstyle="select:labelnumber" href="#classes-symbols-and-symbols">#classes-symbols-and-symbols</a>] attack these aspects of ES6.
0 commit comments