1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-27 20:32:21 +00:00

fix: add parentheses

This commit is contained in:
RookieDay 2017-06-18 15:19:31 +08:00
parent 2bb8556938
commit 90b2a2047c

View File

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