Foreword
Preface
1. ECMAScript and the Future of
1.1 A Brief History of Standards
1.2 ECMAScript as a Rolling Standard
1.3 Browser Support and Complementary Tooling
1.4 Feature Themes in ES6
1.5 Future of
2. ES6 Essentials
2.1 Object Literals
2.2 Arrow Functions
2.3 Assignment Destructuring
2.4 Rest Parameter and Spread Operator
2.5 Template Literals
2.6 let and const Statements
3. Classes, Symbols, Objects, and Decorators
3.1 Classes
3.2 Symbols
3.3 Object Built-in Improvements
3.4 Decorators
4. Iteration and Flow Control
4.1 Promises
4.2 Iterator Protocol and Iterable Protocol
4.3 Generator Functions and Generator Objects
4.4 Async Functions
4.5 Asynchronous Iteration
5. Leveraging ECMAScript Collections
5.1 Using ES6 Maps
5.2 Understanding and Using WeakMap
5.3 Sets in ES6
5.4 ES6 WeakSets
6. Managing Property Access with Proxies
6.1 Getting Started with Proxy
6.2 Revocable Proxies
6.3 Proxy Trap Handlers
6.4 Advanced Proxy Traps
7. Built-in Improvements in ES6
7.1 Numbers
7.2 Math
7.3 Strings and Unicode
7.4 Regular Expressions
7.5 Array
8. Modules
8.1 Common]S
8.2 ]avaScript Modules
8.3 Practical Considerations for ES Modules
9. Practical Considerations
9.1 Variable Declarations
9.2 Template Literals
9.3 Shorthand Notation and Object Destructuring
9.4 Rest and Spread
9.5 Savoring Function Flavors
9.6 Classes and Proxies
9.7 Asynchronous Code Flows
9.8 Complexity Creep, Abstractions, and Conventions
Index