Guest User

Untitled

a guest
May 20th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // It's time to make your own! Let's do what we did before and bring i down from 2 to 0. This time, fill in the conditions in the for loop using what you learned before.
  2.  
  3. var i;
  4. for ( i = 2; i>0 ; i--) { i=2; i>0 ; i--}
  5.   console.log( "i is now equal to " + i );
  6. };
  7.  
  8. // Result: SyntaxError: syntax error
  9. // Oops, try again.
Add Comment
Please, Sign In to add comment