Answer:
6 +4 + 6 +4
Step-by-step explanation:
It will start from index 0 and wherever you find the character inside the indexOf methods then you will note it down.
9.3m questions
12.0m answers