6.7 Typo


#1



I found a typo. On the page it says

Victory!
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:

['E','r','i','c','E','d','d','i','e'];

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.


#2

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.


#3

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


#4

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