Over the last weeks, I worked my way through the projects, sometimes with instant succes, sometimes after several tries. And while I think I understand my code after it is complete, I still have the sense that I know very little of what I am supposed to do when I start a new line of code. Case in point; the code below is from the Mini-Linter assignment.
const storyWords = story.split(' '); const howManyWords = storyWords.filter(word => overusedWords.includes(word) const howManySentences = storyWords.filter(word => word.endsWith('.');