while

Available in ES 2009.

var i = 0; 
for (var item = people[i++] ) {
   alert(people[i]);
}




© 2022 Better Solutions Limited. All Rights Reserved. © 2022 Better Solutions Limited TopPrevNext