Pregunta de entrevista de Gloat

Basic JS questions (reverse string, questions about map and reduce)