Book Image

Mastering JavaScript Promises

Book Image

Mastering JavaScript Promises

Overview of this book

Table of Contents (16 chapters)
Mastering JavaScript Promises
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Jumpstarting promises


Asynchronous APIs in the Windows library for JS are represented as promises, as defined by common JS promises/proposals. One can make his/her code more robust by including an error handler, and this is considered to be the most important aspect of debugging, and because of this many more JavaScript developers are preferring to use promises.

There is a prerequisite for this jumpstart.