DEV Community

Discussion on: JS Array Manipulation Quirks

 
belvederef profile image
Francesco Belvedere

To address your point "what forEach actually returns", the answer is "nothing". forEach does not return a value, it is a void function.

Thread Thread
 
jenc profile image
Jen Chan

Thank you! That makes a lot of sense.