I'm glad you found the issue, I asked you to check the indexOf() api to lead you to what it returned if it found nothing.
The way I found this bug was to tackle the index out of bounds error,...
Type: Posts; User: JJeng
I'm glad you found the issue, I asked you to check the indexOf() api to lead you to what it returned if it found nothing.
The way I found this bug was to tackle the index out of bounds error,...
How did you come up with the condition for the for loop?
Also fully read the indexOf() api doc