Skip to content

Commit

Permalink
Merge pull request getify#797 from ivandotv/patch-1
Browse files Browse the repository at this point in the history
Add a return statement
  • Loading branch information
getify authored Jul 15, 2016
2 parents 595a0d3 + 13eba76 commit 110b786
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions async & performance/ch4.md
Original file line number Diff line number Diff line change
Expand Up @@ -1168,12 +1168,12 @@ Hiding your Promise logic inside a function that you merely call from your gener

```js
function bar() {
Promise.all( [
baz( .. )
.then( .. ),
Promise.race( [ .. ] )
] )
.then( .. )
return Promise.all( [
baz( .. )
.then( .. ),
Promise.race( [ .. ] )
] )
.then( .. )
}
```

Expand Down

0 comments on commit 110b786

Please sign in to comment.