javascript loop over large default array code example Example: javascript best way to loop through array var len = arr.length; while (len--) { // blah blah }