JSFiddle - React, Tailwind, and code Playground
by skydivematy
JavaScript
function FunctionOne() {
alert('function one');
FunctionTwo(); // call function 2 after function one or you can put the call in hulk.
}
function FunctionTwo() {
alert('function 2');
}
setTimeout(function () {
// stuff
hulk();
FunctionOne();
}, 1000);
function hulk() {
alert('alot of stuff here');
// do some stuff...
alert('hulk is called');
}
function simpsons() {
// do some stuff...
hulk();
}
function thor() {
// do some stuff...
simpsons();
}