Pregunta de entrevista de Google

javascript question related to programming