Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo in async.md
  • Loading branch information
hawkphantomnet committed Jun 27, 2016
commit 42c51c073ecd1739d38fde12524a15263c10a198
2 changes: 1 addition & 1 deletion docs/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Promise 的最大问题是代码冗余,原来的任务被Promise 包装了一
举例来说,读取文件的协程写法如下。

```javascript
function *asnycJob() {
function *asyncJob() {
// ...其他代码
var f = yield readFile(fileA);
// ...其他代码
Expand Down