Functions

  • Whole functions can even be passed as parameters to or returned from other functions
  • This is what happens in addEventListener

6 / 21