JSFiddle - React, Tailwind, and code Playground
by akrykunenko
JavaScript
function first(){
setTimeout(function(){
console.log(1);
}, 500);
}
function second(){
console.log(2);
}
function third(){
first();
second();
}
third();