Asynchronous Java Script is everywhere whether you're using Ajax Angular JS Nodejs or Web RTC This practical guide shows intermediate to advanced Java Script developers how Promises can help you manage asynchronous code effectively-including the inevitable flood of callbacks as your codebase grows You'll learn the inner workings of Promises & ways to avoid difficulties & missteps when using them The ability to asynchronously fetch data & load scripts in the browser broadens the capabilities of Java Script applications But if you don't understand how the async part works you'll wind up with unpredictable code that's difficult to maintain This book is ideal whether you're new to Promises or want to expand your knowledge of this technology Understand how async Java Script works by delving into callbacks the event loop & threading Learn how Promises organize callbacks into discrete steps that are easier to read & maintain Examine scenarios you'll encounter & techniques you can use when writing real-world applications Use features in the Bluebird library & j Query to work with Promises Learn how the Promise API handles asynchronous errors Explore ECMAScript 6 language features that simplify Promise-related code