From c88911c88dae30510bab67e61b83a02f91925fda Mon Sep 17 00:00:00 2001 From: byog <7764115+byog@users.noreply.github.com> Date: Fri, 15 Feb 2019 00:25:20 +0800 Subject: [PATCH] Update async.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 语义不完整 --- docs/async.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/async.md b/docs/async.md index 09e1ba5..8e707a3 100644 --- a/docs/async.md +++ b/docs/async.md @@ -523,7 +523,7 @@ const a = async () => { }; ``` -上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()`或`c()`,错误堆栈将包括`a()`。 +上面代码中,`b()`运行的时候,`a()`是暂停执行,上下文环境都保存着。一旦`b()`或`c()`报错,错误堆栈将包括`a()`。 ## async 函数的实现原理