56

你真的完全掌握了promise么?

 6 years ago
source link: https://juejin.im/post/5af29a62f265da0b8f628973
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
最近在整理js中异步编程方法时,回顾了一下promise,又发现了一些遗漏的重要知识点,比如promise.resolve()传递不同参数的含义?比如当一个promise依赖另一个promise时事件执行顺序?比如当catch捕获到了错误后,会不会继续执行后面

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK