Search Text for Your Name - Log it!


What is wrong with this code? It lets me go ahead but it's not printing the right thing.


your if condition is also true for I of I am, so this is also pushed into your hits array

write i am with all lowercase letters


Ok, now it makes sense! Thanks!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.