Question d’entretien chez Habilelabs

What will be logged first console.log('data 1'); setTimeout(function(){ console.log('data 2'); }, 0); console.log('data 3');

Réponse à la question d'entretien

Utilisateur anonyme

15 juin 2019

Even a newbie can do this data1 data3 data2 Read about event loop, how they handle async code