Is there any performance / memory hit differential among the three following styles?
Exhibit A:
var func = function() {
// do some magic
}
$("#div").somePlugin({someEvent: func});
Exhibit B:
$("#div").somePlugin({someEvent: function() {
// do some magic
});
Exhibit C:
function func() {
// do some magic
}
$("#div").somePlugin({someEvent: func});