mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2024-04-21 12:32:22 +00:00
修复promise.md符号错误
将全角单引号修正为半角单引号
This commit is contained in:
+1
-1
@@ -633,7 +633,7 @@ console.log('one');
|
||||
// three
|
||||
```
|
||||
|
||||
上面代码中,`setTimeout(fn, 0)`在下一轮“事件循环”开始时执行,`Promise.resolve()`在本轮“事件循环”结束时执行,`console.log(’one‘)`则是立即执行,因此最先输出。
|
||||
上面代码中,`setTimeout(fn, 0)`在下一轮“事件循环”开始时执行,`Promise.resolve()`在本轮“事件循环”结束时执行,`console.log('one')`则是立即执行,因此最先输出。
|
||||
|
||||
## Promise.reject()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user