Pergunta de entrevista da empresa Anonymous Content

many questions from html to js and react. task - find index of substring