Pregunta de entrevista de Mozilla

Javascript coding question, I don't remember the specifics.