
Since promises were added to JavaScript in 2015, they have become an integral part of the language. A good understanding of how promises work is more important than ever in becoming a proficient JavaScript developer. This book begins by explaining the basic concepts behind promises, including what they are, how to use them, and how to create your own. You'll then build upon these basic concepts to learn how to chain promises together and how to respond to multiple promises at once. Once you've learned these advanced concepts, you'll move on to learn how promises work with async functions and how to track unhandled promise rejections. All of the concepts discussed are grounded in real world examples so you learn not just how to use a particular technique, but also why and when to use it. It doesn't matter if you're writing JavaScript for web browsers, Node.js, or Deno, this book will teach you everything you need to know about promises.
Details
- Publication Date
- Apr 16, 2022
- Language
- English
- ISBN
- 9781678034153
- Category
- Computers & Technology
- Copyright
- All Rights Reserved - Standard Copyright License
- Contributors
- By (author): Nicholas C. Zakas
Specifications
- Pages
- 106
- Binding Type
- Paperback Perfect Bound
- Interior Color
- Black & White
- Dimensions
- Executive (7 x 10 in / 178 x 254 mm)