Pregunta de entrevista de Oracle

Phone interview: Array question in javascript