Skip to content

Latest commit

 

History

History

quiz-11

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Changing the Loop

Directions:

Rewrite the following while loop as a for loop:

var x = 9;
while (x >= 1) {
  console.log("hello " + x);
  x = x - 1;
}