how to loop 1000 items once in a lakh list code example Example: javascript fastest loop for (var i = 0, len = myArray.length; i < len; i++) { }