Bug found in Spinal Tap Case?

Tell us what’s happening:

I had solved everything except the griffith show test, it kept logging this in the console …

spinalCase(‘The_Andy_Griffith_Show’) should return …

I think the must be code getting caught in there from somewhere else.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:62.0) Gecko/20100101 Firefox/62.0.

Link to the challenge:

Could you please include the solution that you believe is correct? Please use the </> button in the forum editor to format your code so it is readable.