Update article.md

This commit is contained in:
Violet.Lee 2019-10-28 19:31:49 +09:00 committed by GitHub
parent 70ca842bef
commit bfb9b8900e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,7 +132,7 @@ let user = await response.json();
We can wrap it into an anonymous async function, like this: We can wrap it into an anonymous async function, like this:
```js run ```js
(async () => { (async () => {
let response = await fetch('/article/promise-chaining/user.json'); let response = await fetch('/article/promise-chaining/user.json');
let user = await response.json(); let user = await response.json();