JavaScript & TypeScript
50 Tips on JavaScript: 50 of the most interesting features, concepts, and patterns in JavaScript
Krasimir Tsonev, 2022
Inhaltsverzeichnis des Buches
- Basics
- Strict equality
- Comma operator
- Spread operator
- Destructing
- Optional chaining
- By reference or by value
- Reducing
- Async/await (preview)
- Iterable protocol
- Generators
- Browser APIs
- Printing JSON
- Object.assign
- Capture groups
- Tagged template literal (preview)
- Media query list
- Event delegation
- Error handling
- Blast from the past
- 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 (preview)
- Partial application
- Currying
- Dependency injection
- State machines
- Reducers
- Flux architecture
- Redux
- Communicating sequential processes
- Implementations
- Asynchronous Immediately Invoked Function Expression
- Asynchronous queue
- JavaScript module system as a singleton (preview)
- Call-to-action widgets script tag replacement
- Removing fields from objects
- A must have function argument
- Loading JavaScript file dynamically
- Design patterns
- Singleton
- Factory pattern
- Module revealing pattern
- Publisher/Subscriber pattern
- Mixins (preview)
- Command pattern done with generators