JavaScript Loops
jQuery
Arrays
var my_array = [52, 97];
$.each(my_array, function(index, value) {
console.log(index + ": " + value);
});
Objects
var obj = {
"flammable": "inflammable",
"duh": "no duh"
};
$.each(obj, function(key, value) {
console.log(key + ": " + value);
});