See also: JavaScript, You Don’t Know JS Yet (YDKJSY) JavaScript Book Series by Kyle Simpson, JavaScript Bibliography and Bibliography of JavaScript Libraries and Web Frameworks
See: You Don’t Know JS: Async & Performance, (YDKJS), JavaScript Book 5, 1st edition, by Kyle Simpson, 2015, 1491904224 (YDKJS-5)
Fair Use Source: 1491904224 (YDKJS-5)
Read free here: https://github.com/getify/You-Dont-Know-JS/blob/1st-ed/async%20&%20performance/README.md#you-dont-know-js-async–performance
Buy here https://leanpub.com/p/getipub rather than Kyle’s Amazon page or his Amazon 2nd edition book series page.
About This Book:
No matter how much experience you have with JavaScript, odds are you don’t fully understand the language. As part of the “You Don’t Know JS” series, this concise yet in-depth guide focuses on new asynchronous features and performance techniques—including Promises, generators, and Web Workers—that let you create sophisticated single-page web applications and escape callback hell in the process.
Like other books in this series, You Don’t Know JS: Async & Performance dives into trickier parts of the language that many JavaScript programmers simply avoid. Armed with this knowledge, you can become a true JavaScript master.
With this book you will:
- Explore old and new JavaScript methods for handling asynchronous programming
- Understand how callbacks let third parties control your program’s execution
- Address the “inversion of control” issue with JavaScript Promises
- Use generators to express async flow in a sequential, synchronous-looking fashion
- Tackle program-level performance with Web Workers, SIMD, and asm.js
- Learn valuable resources and techniques for benchmarking and tuning your expressions and statements
About the Author:
Kyle Simpson is an Open Web evangelist from Austin, Texas, who’s passionate about all things JavaScript. He’s an author, workshop trainer, tech speaker, and OSS contributor/leader. https://github.com/getify, https://linkedin.com/in/getify

Book Details:
- ASIN: 1491904224
- ISBN-10: 9781491904220
- ISBN-13: 978-1491904220
- Publisher : O’Reilly Media; 1st edition (March 24, 2015) – 2nd edition published by GetiPub (http://getipub.com), a division of Getify Solutions, Inc., and produced by Leanpub (https://leanpub.com/p/getipub).
- Paperback : 296 pages
Table of Contents:
- Foreword (by Jake Archibald)
- Preface
- Chapter 1: Asynchrony: Now & Later
- Chapter 2: Callbacks
- Chapter 3: Promises
- Chapter 4: Generators
- Chapter 5: Program Performance
- Chapter 6: Benchmarking & Tuning
- Appendix A: Library: asynquence
- Appendix B: Advanced Async Patterns
- Appendix C: Thank You’s!