Pregunta de entrevista de Glasswall

How to map through an array in JavaScript?