looping over large array javascript takes a lot of time code example Example: javascript fastest loop for (var i = 0, len = myArray.length; i < len; i++) { }