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
It is an object.
$ holds different functions.
$
You can test this yourself by making your own object:
var $ = { select: function(id){return document.getElementById(id);} } function $(id){ return $.select(id); }