Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

while loop js

let count = 0;
let max = 10;
while (count < max) {
	console.log(count)
    count = count + 1
}
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #loop #js
ADD COMMENT
Topic
Name
1+9 =