The freeCodeCamp Forum
Problem in converting indexOf to a for loop
JavaScript