جزییات کتاب
Learn about destructing, iterables, generators, helpful browser APIs. The book covers concepts like higher-order functions, memoization, currying, and state machines. You will find the fundamentals of Flux and Redux and see how patterns like singleton and publisher/subscriber work.Every 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 targeting developers that already have experience with JavaScript.Table of contents:1. Basics1.1 Strict equality1.2 Comma operator1.3 Spread operator1.4 Destructing1.5 Optional chaining1.6 By reference or by value1.7 Reducing1.8 Async/await1.9 Iterable protocol1.10 Generators2. Browser APIs2.1 Printing JSON2.2 Object.assign2.3 Capture groups2.4 Tagged template literal2.5 Media query list2.6 Event delegation2.7 Error handling2.8 Blast from the past3. Implementations3.1 Asynchronous Immediately Invoked Function Expression3.2 Asynchronous queue3.3 JavaScript module system as a singleton3.4 Call-to-action widgets script tag replacement3.5 Removing fields from objects3.6 A must have function argument3.7 Loading JavaScript file dynamically4. Popular concepts4.1 Readability4.2 The return statement is not the end4.3 Always get a value4.4 This4.5 Scope4.6 Manually creating block scope4.7 Call, apply and bind4.8 Chaining4.9 Recursion4.10 Higher order functions4.11 Memoization4.12 Partial application4.13 Currying4.14 Dependency injection4.15 State machines4.16 Reducers4.17 Flux architecture4.18 Redux4.19 Communicating sequential processes5. Design patterns5.1 Singleton5.2 Factory pattern5.3 Module revealing pattern5.4 Publisher/Subscriber pattern5.5 Mixins5.6 Command pattern done with generators