Do you think there is a big difference in for...in and for loops? What kind of \"for\" do you prefer to use and why?
Let\'s say we have an array of associative array
A shorter and best code according to jsperf is
keys = Object.keys(obj); for (var i = keys.length; i--;){ value = obj[keys[i]];// or other action }