1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-25 03:02:21 +00:00

Merge pull request #434 from RookieDay/gh-pages

fix: add parentheses
This commit is contained in:
Ruan YiFeng 2017-06-18 07:45:57 -05:00 committed by GitHub
commit a24231818e

View File

@ -373,7 +373,7 @@ async function myFunction() {
await somethingThatReturnsAPromise()
.catch(function (err) {
console.log(err);
};
});
}
```