webVueBlog/Leetcode

52. 为什么需要承诺

webVueBlog opened this issue · 0 comments

Promise 用于处理异步操作。它们通过减少回调地狱和编写更简洁的代码为回调提供了一种替代方法。