How many times will this program print "hello"?
var i = 10;
while (i > 0) {
println("hello");
i--;
}
JavaScript
0
10
i
This code will loop infinitely
var i = 10;
while (i > 0) {
println("hello");
i--;
}
JavaScript
0
10
i
This code will loop infinitely