Don't forget to call for help if you need it in your breakout rooms!
-
What does the
async
keyword do? it makes a function asyconous, where you would write the async in an es5 it goes in the front -
What does the
await
keyword do? wait for the next thing to resolve you could use wait for alone wait for the promise to return a result only works with asyc functions could use on web api funtions -
Convert this function to use async / await: ( https://repl.it/@khalidwilliams/2006M3-async-await-practice )