Pregunta de entrevista de Itlize Global

How is this code wrong?