50 shades of JavaScript: 50 of the most interesting features, concepts, and patterns in JavaScript
- Length: 146 pages
- Edition: 1
- Language: English
- Publication Date: 2021-11-27
- ISBN-10: B09MPR4CTQ
- Sales Rank: #0 (See Top 100 Books)
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
50 shades of JavaScript Basics Strict equality Comma operator Spread operator Destructing Optional chaining By reference or by value Reducing Async/await Iterable protocol Generators Browser APIs Printing JSON Object.assign Capture groups Tagged template literal Media query list Event delegation Error handling Blast from the past Implementations Asynchronous Immediately Invoked Function Expression Asynchronous queue JavaScript module system as a singleton Call-to-action widgets script tag replacement Removing fields from objects A must have function argument Loading JavaScript file dynamically Popular concepts Readability The return statement is not the end Always get a value This Scope Manually creating block scope Call, apply and bind Chaining Recursion Higher order functions Memoization Partial application Currying Dependency injection State machines Reducers Flux architecture Redux Communicating sequential processes Design patterns Singleton Factory pattern Module revealing pattern Publisher/Subscriber pattern Mixins Command pattern done with generators
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.