The output for the above code is:
JAVASCRIPT
1Called with [ 3, 10, 25, 1, 7 ] , returned 1The changeFn(), which is the higher-order function, accepts a function as an argument and passes all of the required arguments to it using the getArr() return function.

