What is the purpose of the `forEach()` function for arrays? | Array Operations | javascript Interview Questions | NextRound.in