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

Right. To call methods, we use the property name in the object rather than explicitly naming the function, and using that name. For now, just take this as the convention we use, but later in the book we’ll dive into the topic of anonymous functions (which is what you call functions that don’t explicitly have names).


Cover of Head First JavaScript Programming


What is an "anonymous function"?