Hello! Stephanie here.
My code passes the objective, and I receive no error messages. The output from the
console.log at the end shows exactly what it is supposed to (even the funny places where the computer finds an "S" that is not part of my name). HOWEVER! The output is showing the hits array with each item on a separate row instead of placing the text inline. This oddity goes away when I delete the other instances of the capital "S" in my original text. What is causing this oddity??
Instead of the beautiful inline version from 1. What You'll Be Building:
[ 'E', 'r', 'i', 'c', 'E', 'r', 'i', 'c', 'E', 'r', 'i', 'c', 'E', 'r', 'i', 'c' ]
I see (truncated version so the length of the page doesn't drive you nuts):