class method Prototype.emptyFunction

View source on GitHub →

Prototype.emptyFunction([argument...]) → undefined
  • argument (Object) – Optional arguments

The Prototype.emptyFunction does nothing... and returns nothing!

It is used thoughout the framework to provide a fallback function in order to cut down on conditionals. Typically you'll find it as a default value for optional callback functions.