From 58ee49a9588d5ca2e67798b6cf41e00d79b0b210 Mon Sep 17 00:00:00 2001 From: Herrera-pgoat <36180320+Herrera-pgoat@users.noreply.github.com> Date: Thu, 22 Oct 2020 16:05:32 -0500 Subject: [PATCH] Update task.md Made it clear what the question was asking from the user. --- 1-js/11-async/08-async-await/03-async-from-regular/task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1-js/11-async/08-async-await/03-async-from-regular/task.md b/1-js/11-async/08-async-await/03-async-from-regular/task.md index 18d0e2ce..45336ff7 100644 --- a/1-js/11-async/08-async-await/03-async-from-regular/task.md +++ b/1-js/11-async/08-async-await/03-async-from-regular/task.md @@ -1,7 +1,7 @@ # Call async from non-async -We have a "regular" function. How to call `async` from it and use its result? +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() { @@ -11,7 +11,7 @@ async function wait() { } function f() { - // ...what to write here? + // ...what should you write here? // we need to call async wait() and wait to get 10 // remember, we can't use "await" }