标签:
function jQuery(){
return new jQuery.prototype.init();
}
jQuery.prototype.init = function(){
console.log("initializing");
}
jQuery.prototype.css = function(){
console.log("css");
}
jQuery.prototype.init.prototype = jQuery.prototype;
var testJ = new jQuery();
testJ.css();
标签:
原文地址:http://www.cnblogs.com/WeiChienHsing/p/5053169.html