Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js infinite loop

var i = 1;
var sum = 0;
while(i < 5) {
    sum += i;
}
println(sum);
Source by codehs.com #
 
PREVIOUS NEXT
Tagged: #js #infinite #loop
ADD COMMENT
Topic
Name
7+8 =