(function(){
var jQuery = window.jQuery = function( selector, content){
return new jQuery.prototype.init( selector, content);
}
jQuery.fn = jQuery.prototype = {
init:function (selector, content) {
return this;
}
}
jQuery.prototype.init.prototype = jQuery.prototype;
})();
console.log(jQuery.fn);
![](https://i-blog.csdnimg.cn/blog_migrate/17724e5cd5c347009b85b1ad14ce076e.png)