English | 2021 | ISBN: B09MPR4CTQ | 129 pages | pdf, epub, azw3 | 11.34 MB
The 50 stories in this book are a collection of the most interesting and important features, concepts, and patterns in javascript. From topics like destructing, iterables, and generators through helpful browser APIs, you will level up your javascript skills. The book covers concepts like higher-order functions, memoization, currying, and state machines. You will learn the fundamentals of Flux and Redux and see how patterns like singleton and publisher/subscriber work.
Every single topic comes with a profound explanation, code samples, and illustration. The author spent a year crafting each of the chapters to make your learning experience smooth and enjoyable.
(The book is for developers that already have experience with the language.)
1. Basics
1.1 Strict equality
1.2 Comma operator
1.3 Spread operator
1.4 Destructing
1.5 Optional chaining
1.6 By reference or by value
1.7 Reducing
1.8 Async/await
1.9 Iterable protocol
1.10 Generators
2. Browser APIs
2.1 Printing JSON
2.2 Object.assign
2.3 Capture groups
2.4 Tagged template literal
2.5 Media query list
2.6 Event delegation
2.7 Error handling
2.8 Blast from the past
3. Implementations
3.1 Asynchronous Immediately Invoked Function Expression
3.2 Asynchronous queue
3.3 javascript module system as a singleton
3.4 Call-to-action widgets script tag replacement
3.5 Removing fields from objects
3.6 A must have function argument
3.7 Loading javascript file dynamically
4. Popular concepts
4.1 Readability
4.2 The return statement is not the end
4.3 Always get a value
4.4 This
4.5 Scope
4.6 Manually creating block scope
4.7 Call, apply and bind
4.8 Chaining
4.9 Recursion
4.10 Higher order functions
4.11 Memoization
4.12 Partial application
4.13 Currying
4.14 Dependency injection
4.15 State machines
4.16 Reducers
4.17 Flux architecture
4.18 Redux
4.19 Communicating sequential processes
5. Design patterns
5.1 Singleton
5.2 Factory pattern
5.3 Module revealing pattern
5.4 Publisher/Subscriber pattern
5.5 Mixins
5.6 Command pattern done with generators
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.