42
rated 0 times
[
43]
[
1]
/ answers: 1 / hits: 82366
/ 9 Years ago, tue, january 26, 2016, 12:00:00
I'm trying to loop indefinitely until a condition is met...is the following correct?
It seems not to be.
var set = false;
while(set !== true) {
var check = searchArray(checkResult, number);
if(check === false) {
grid.push(number);
set = true;
}
}
More From » while-loop