Different Ways to iterate through Objects and Arrays in JavaScript

There several ways available in JavaScript to loop arrays and objects. For examples: for loop, for of,for in,map, filter, reduce etc.