99
rated 0 times
[
102]
[
3]
/ answers: 1 / hits: 60854
/ 12 Years ago, fri, february 22, 2013, 12:00:00
I have a short javascript code where I need to skip to next in the for loop....see below:
var y = new Array ('1', '2', '3', '4');
for (var x in y) {
callFunctionOne(y[x]);
while (condition){
condition = callFunctionTwo(y[x]);
//now want to move to the next item so
// invoke callFunctionTwo() again...
}
}
Wanted to keep it simple so syntax may be error free.
More From » for-loop