Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ------- Please begin your work below this line: -------
- function exerciseOne(){
- // In this exercise, write a simple 'for loop' that starts the variable 'i' at 0 and
- // increases i until it reaches 6.
- // Fill in the blanks in the parentheses, and then console.log(i) inside of the fo loop
- for( let i=0; i<7; ) {
- console.log (i)
- }
Advertisement
Add Comment
Please, Sign In to add comment