O'Reilly logo
  • Nivan Morgan thinks this is interesting:

Functions are covered in Chapter 8.

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

Therefore perform functions on actions when they occur (like any object)