Merge pull request #815 from byog/patch-3

Update async.md
This commit is contained in:
Ruan YiFeng
2019-02-19 14:30:47 +08:00
committed by GitHub
+1 -1
View File
@@ -523,7 +523,7 @@ const a = async () => {
};
```
上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()``c()`,错误堆栈将包括`a()`
上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()``c()`报错,错误堆栈将包括`a()`
## async 函数的实现原理