In your initial code examples for forEach, shouldn’t it be this.length instead of arr.length?
Nathaniel Alcedo
11

yes, thanks. I fixed it.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.