Create a loop that runs as long as i is less than 10, but increase i with 2 each time.
i
Click here to try again.
let i = 0; while (i < 10) { console.log(i); w3exercise_input_no_0 = w3exercise_input_no_1 w3exercise_input_no_2 w3exercise_input_no_3; }
w3exercise_input_no_0
w3exercise_input_no_1
w3exercise_input_no_2
w3exercise_input_no_3
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?
Share your score:
Take our JavaScript Developer Certificate to prove that you have fundamental knowledge of web development using JavaScript.