capdroid.wordpress.com
JavaScript faster for loops
Assuming you want to traverse through an array using for-loop var array = [………..] Slow Way array.forEach(function(x){ // TODO: Do Something }); Fast Way for(var i = 0; i < arra…