Lesson iterators project mini linter step 8

Hello everyone I am trying to do the exercise which consists of replacing a word in a character string and I am at step 8 but I cannot progress at all, can you help me a little ? thank you !!

https://www.codecademy.com/courses/introduction-to-javascript/projects/mini-linter

Array.forEach() can be used to both filter and enumerate at the same time. This will give us an array of all the overused words and their index.

Another approach would be to create histogram and work from that.

1 Like

thank you very much for your response !

1 Like

While this example is fresh in my mind,

JavaScript Arrow Function question - #6 by mtf