Update article.md
This commit is contained in:
parent
70ca842bef
commit
bfb9b8900e
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ let user = await response.json();
|
|||
|
||||
We can wrap it into an anonymous async function, like this:
|
||||
|
||||
```js run
|
||||
```js
|
||||
(async () => {
|
||||
let response = await fetch('/article/promise-chaining/user.json');
|
||||
let user = await response.json();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue