jQuery.noop () method
Examples
Passing an empty function as a parameter and returns an empty array
$ (Function () {
var result = $. map ( [1, 2, 3], $. Noop );. Document writeln ( result. length ); // 0
})
try it"
Definition and Usage
$ .noop () Function is an empty function.
NOTE: This method does not accept any parameters. For example, when an optional plug-in provides callback interface, then if the call does not pass when the callback function, use $ .noop instead of performing.
grammar
$.noop()