AI

async/await makes asynchronous code look and behave like synchronous code! It's syntactic sugar built on top of Promises.

Your Task:

  • Create an async function called kitchenFlow
  • Inside it, await the cookSteak function (provided)
  • Save the result to a variable dinner
  • Return the dinner variable
TypeScript Solution
Loading...

Submit your code to see test results