Update article.md

This commit is contained in:
Jason Kao 2018-11-07 22:34:02 -05:00 committed by GitHub
parent 69bd4b5f3c
commit f110efc046
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ let value = await promise;
The keyword `await` makes JavaScript wait until that promise settles and returns its result. The keyword `await` makes JavaScript wait until that promise settles and returns its result.
Here's example with a promise that resolves in 1 second: Here's an example with a promise that resolves in 1 second:
```js run ```js run
async function f() { async function f() {