Update task.md

This commit is contained in:
Ilya Kantor 2020-10-29 19:49:40 +03:00 committed by GitHub
parent 2a55b5b21c
commit 0c760be1ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# Call async from non-async
We have a "regular" function called f. How can you call the `async` function wait() and use its result inside of f?
We have a "regular" function called `f`. How can you call the `async` function `wait()` and use its result inside of `f`?
```js
async function wait() {