In the subsection Array Methods:
With the exception of forEach, the above functions do not modify the array they are given.
forEach behaves exactly in the same manner as the rest of those functions. None of them, forEach included, modifies the original array.
(But also none of them can prevent that you change it inside the iterating function)
In the subsection
Array Methods:forEachbehaves exactly in the same manner as the rest of those functions. None of them,forEachincluded, modifies the original array.(But also none of them can prevent that you change it inside the iterating function)