1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Merge branch 'gh-pages' of github.com:ruanyf/es6tutorial into gh-pages

This commit is contained in:
ruanyf 2019-02-19 16:21:16 +08:00
commit 679bb51386

View File

@ -523,7 +523,7 @@ const a = async () => {
}; };
``` ```
上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()``c()`,错误堆栈将包括`a()` 上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()``c()`报错,错误堆栈将包括`a()`
## async 函数的实现原理 ## async 函数的实现原理