Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make a while loop in node.js

var i = 0;
while (i <= 5) {
  console.log(i);
  i++;
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #loop
ADD COMMENT
Topic
Name
9+2 =