emptyFunction :: Prototype

emptyFunction([argument...])

 

The 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.


Prototype API 1.5.0 - prototypejs.org