Pregunta de entrevista de Newel Technologies

Basic JS and react.js question