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

Q: What exactly are we passing when we pass a function to a function?


A: We’re passing a reference to the function


Cover of Head First JavaScript Programming


This reference to a function that can changes and vary instead of hard-coding a function invocation in the bigger function. let it sink in for a while.