when would you decrement in a for loop javascript code example Example: js decrement for loop for (var i = 10; i > 5; i--) { alert(i); }