Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ascoders committed Jun 25, 2019
1 parent 3a4b82b commit b6487f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 004.精读AsyncAwait优越之处.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ async function mount() {

```javascript
async function mount() {
const result = await Promise.all(
const result = await Promise.all([
fetch('a.json'),
fetch('b.json'),
fetch('c.json')
);
]);

render(...result);
}
Expand Down

0 comments on commit b6487f8

Please sign in to comment.