compares array.map with a for loop called within a function
compares for vs forEach
Compares for in and for loop for objects.
Looping the properties of an object