+ 1
Different way
Canât you write it this way also? Var x=12; While (x=12; x<100; x++) Cosole.log(âJava rocks!â);
2 RĂ©ponses
+ 2
am not sure while loop can be use like that in js, but not other languages, that kind of parameters can only be use in for loop
+ 1
Yess I've tried in Js this .