Pergunta de entrevista da empresa Newel Technologies

Basic JS and react.js question