From 884c0083134f2566c5161960e9128c12e0231938 Mon Sep 17 00:00:00 2001 From: MRLuowen <578738358@qq.com> Date: Tue, 3 Jan 2017 18:34:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= 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 570e973..0ed3e05 100644 --- a/docs/async.md +++ b/docs/async.md @@ -1357,7 +1357,7 @@ asyncIterator ```javascript const asyncIterable = createAsyncIterable(['a', 'b']); -const asyncIterator = someCollection[Symbol.asyncIterator](); +const asyncIterator = asyncIterable[Symbol.asyncIterator](); asyncIterator .next()