mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-28 21:32:20 +00:00
commit
23883cc0af
@ -523,7 +523,7 @@ const a = async () => {
|
|||||||
};
|
};
|
||||||
```
|
```
|
||||||
|
|
||||||
上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()`或`c()`,错误堆栈将包括`a()`。
|
上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()`或`c()`报错,错误堆栈将包括`a()`。
|
||||||
|
|
||||||
## async 函数的实现原理
|
## async 函数的实现原理
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user