JSFiddle - React, Tailwind, and code Playground
by BeNdErR
JavaScript
var call = function(x) {
return new Promise(function(res, rej){
setTimeout(1000, function(){
res();
})
})
};
var calls = [1, 2, 3, 4, 5];
for (var x = 0; x < calls.length; x++) {
}