JavaScript - async & await

Publicado el: 09 febrero 2022
en el canal de: 생활코딩
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);


En esta página del sitio puede ver el video en línea JavaScript - async & await de Duración hora minuto segunda en buena calidad , que subió el usuario 생활코딩 09 febrero 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 28,887 veces y le gustó 623 a los espectadores. Disfruta viendo!