JavaScript - async & await

Published: 09 February 2022
on channel: 생활코딩
28,887
623

This lesson covers async and await, tools that allow you to use asynchronous functions using promises as if they were synchronous functions.

time(1000).then(function(time){
console.log(time);
})

Change the code above to the following:

var time = await time(1000);


On this page of the site you can watch the video online JavaScript - async & await with a duration of hours minute second in good quality, which was uploaded by the user 생활코딩 09 February 2022, share the link with friends and acquaintances, this video has already been watched 28,887 times on youtube and it was liked by 623 viewers. Enjoy your viewing!