Update task.md
This commit is contained in:
parent
2a55b5b21c
commit
0c760be1ee
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue