Pergunta de entrevista da empresa Acadly

Question on javascript and React