I suggest renaming forEach in the sample lecture because it is also a function in the standard library.
This creates confusion about the correct approach to the first exercise: should a student use the lecture's forEach function, or the built-in forEach method of a JavaScript array?