Q.1 Why is Array.forEach() called as a High Order function?
Q.2 Mark the correct answer based on the syntax provided below:
forEach(callbackFn);
The callbackFn
can be called with what arguments?
Q.3 By default the Array.forEach() function iterates over the array elements in __________?
Q.4 How is Array.forEach() method different from for...or loop?
Q.5 The Array.forEach() function expects a __________.