JSFiddle - React, Tailwind, and code Playground
by technotarek
JavaScript
var counter = 0;
function foo(){
alert('test'+counter);
counter++;
if(counter < 5)
bar();
}
function bar(){
//do something
foo();
}
foo();
by technotarek
var counter = 0;
function foo(){
alert('test'+counter);
counter++;
if(counter < 5)
bar();
}
function bar(){
//do something
foo();
}
foo();