Skip to content

Commit

Permalink
chore: 标题
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooo-star committed Aug 28, 2024
1 parent a2e4dea commit 41c6d13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/javascript/promise.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,8 @@ class MyPromise {

最后,Promise 还有很多的静态方法,这里就不一一赘述这些方法是怎么写的了,直接附上一份最完整的代码供各位大佬们审阅。

## 完整版

```js
// 记录Promise的三种状态
const PENDING = 'pending';
Expand Down

0 comments on commit 41c6d13

Please sign in to comment.