6.7 Typo


I found a typo. On the page it says

You've done it! Nice work.

Now, as we mentioned, this system isn't perfect. For instance, if the paragraph contains both "Eric" and "Eddie", we'll see this in our hits array:


But it should be ['E','r','i','c','E','d','d','i'] . Eddie's fifth character will not get pushed in hits[], because Eric is a 4 character name.


It's such a minor typo and it doesn't block anybody from completing the lesson. I think it's fair to say we can ignore it. This comes up about twelve times a year, thereabouts. Rather than look for errors in the lesson text, which are many, btw, perhaps focus on finding your own errors and learn how they are caused. That will be valuable to you.


(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)


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