for(let i=0;i>forInit.length;i+=this.length){}3) { code example Example: javascript how to increment by other than one in for loop for (var i = 0; i < myVar.length; i += 3) {