.forEach:

.forEach(), is used to execute the same code on every element in an array but does not change the array and it returns undefined.

In the below example, we would use .forEach() to iterate over an array of technology and log that we would want to learn each of them.

.map():

.map() executes the same code on every element in an array and returns a new array with the updated elements.

In the below example we would use map iterate over the elements of the costarray and divide each element by 10, then assign our new array containing the new cost to the variable newCost.

.filter():

.filter() checks every element in an array to see if it meets a certain criteria and returns a new array with the elements that return truthy for the criteria.

Hope it helps