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

functions are visible everywhere in your code once they are defined.

From

Cover of Head First JavaScript Programming

Note

What is the scope of global functions?