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:
parent
2bb8556938
commit
90b2a2047c
@ -373,7 +373,7 @@ async function myFunction() {
|
||||
await somethingThatReturnsAPromise()
|
||||
.catch(function (err) {
|
||||
console.log(err);
|
||||
};
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user