JavaScript - async & await

Pubblicato il: 09 febbraio 2022
sul canale di: 생활코딩
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);


In questa pagina del sito puoi guardare il video online JavaScript - async & await della durata di ore minuti seconda in buona qualità , che l'utente ha caricato 생활코딩 09 febbraio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 28,887 volte e gli è piaciuto 623 spettatori. Buona visione!