1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

Update async.md

语义不完整
This commit is contained in:
byog 2019-02-15 00:25:20 +08:00 committed by GitHub
parent b26bc37017
commit c88911c88d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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