I’ve been stuck in this exercise and I don’t think I’m ready for such complexity. I thought I had the first step completed, but then I logged to the console the result and I get the number of letters instead of words. I’ve been searching around in the forum, and everybody seems to have the same answer I wrote… why do they get a different result? I don’t know!
Then I realized they all have a space between the quotation marks inside the round brakets!
let storyWords = story.split('');
console.log(storyWords.length);
// you get the total number of letters
let storyWords = story.split(' ');
console.log(storyWords.length);
// you get the total number of words
why this happens? is there a rule to keep in mind?