出版时间:2022.2
官网链接:Leanpub
下载地址:百度网盘(PDF+EPUB)
内容简介:
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 is written to introduce the promises and their intricacies in a straightforward, easy to read format. Each chapter is filled with practical, real-world examples using the techniques discussed, and all examples are available for download with your purchase.
What you’ll learn:
- Which parts of promises are synchronous and which are asynchronous
- How to effectively use promise chains to simplify your code
- The best way to catch errors in promises
- How to create your own promises
- Ways to work with multiple promises at once
- How async functions and await expression hide promise complexities
- What happens to rejected promises without rejection handlers