function loop(j){
process(function(){
// Callback for process (When process finished)
j++;
if (j < array.length) {
loop(j);
} else {
// Array finished
}
});
}
Etiketler :
Javascript
function loop(j){
process(function(){
// Callback for process (When process finished)
j++;
if (j < array.length) {
loop(j);
} else {
// Array finished
}
});
}