for(var n = 0; n <= 10; n+=2) console.log(n)
Here is what the above code is Doing:
1. We create a variable called n and set it equal to 0.
2. We create a for loop that will run as long as n is less than or equal to 10.
3. We increment n by 2 each time the loop runs.
4. We log the value of n to the console each time the loop runs.