Pregunta de entrevista de Camunda

Reach code challenge, Question related to the javascript.