O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

return them from functions


Cover of Head First JavaScript Programming


Again: returning a function from a function is NOT the invocation of the function. It is the return of a reference to the function. The invocation of the function is executed by using parenthesis after the reference variable of the function.