Skip to content

Commit 2f89b0d

Browse files
authored
修复promise.md符号错误
将全角单引号修正为半角单引号
1 parent 6cffe77 commit 2f89b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/promise.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ console.log('one');
633633
// three
634634
```
635635

636-
上面代码中,`setTimeout(fn, 0)`在下一轮“事件循环”开始时执行,`Promise.resolve()`在本轮“事件循环”结束时执行,`console.log(one)`则是立即执行,因此最先输出。
636+
上面代码中,`setTimeout(fn, 0)`在下一轮“事件循环”开始时执行,`Promise.resolve()`在本轮“事件循环”结束时执行,`console.log('one')`则是立即执行,因此最先输出。
637637

638638
## Promise.reject()
639639

0 commit comments

Comments
 (0)