$.noop is an empty function, so in your case it returns an empty function
You can use this empty function when you want which will do nothing.
This is useful for plugin authors who offer additional callbacks; in the case where the callback is not specified, something like jQuery.noop is executed.
Documentation found here: http://api.jquery.com/jquery.noop/
source
share