Mark As Completed Discussion

Functions that Accept other Functions as Parameters and Return the Functions:

Consider the following program that updates an array and prints it out along with an input passed to the inner function.

JAVASCRIPT
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment