Javascript for loop:
for( i=0; i < myArray.length; i++){
myArray[i];
}

jQuery for loop:
jQuery.each(myArray, function(i, val) {
val;
});

jquery each function acts as a looping function where "i" acts as a iterator & "val" gives the respective positional values of an array.