javascript how to increment by other than one in for loop

JavaScript
for (var i = 0; i < myVar.length; i += 3) {
Source

Also in JavaScript: