Update article.md
This commit is contained in:
parent
1757746fb6
commit
80507cf04a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ async function f() {
|
|||
|
||||
The word "async" before a function means one simple thing: a function always returns a promise. If the code has `return <non-promise>` in it, then JavaScript automatically wraps it into a resolved promise with that value.
|
||||
|
||||
For instance, the code above returns a resolved promise with the result of `1`:
|
||||
For instance, the code above returns a resolved promise with the result of `1`, let's test it:
|
||||
|
||||
```js run
|
||||
async function f() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue