I mean object as in {} [object Object]. How does it do $(selector) and $.fn.init at the same time?
{} [object Object]
$(selector)
$.fn.init
Can you give me a simple ex
var s = function(){}; s.test = function(){console.log('inside s');} s.test();
is perfectly legal code.