0

Is there a foreach function in JS and Java ?

4th Jan 2017, 8:13 PM
Hickacou
Hickacou - avatar
2 Réponses
+ 2
It is. JS for(item in collectionname){}
4th Jan 2017, 8:16 PM
Nahuel
Nahuel - avatar
+ 2
Javascript: list.forEach(x => { // ... });
4th Jan 2017, 9:01 PM
Schindlabua
Schindlabua - avatar