jQuery源码解读之init函数

jQuery的构造方法: // 直接new了一个对象。同时根据jQuery.fn = jQuery.prototype,jQuery.fn至关于jQuery.prototype。javascript jQuery = function( selector, context ) { return new jQuery.fn.init( selector, context ); },
相关文章
相关标签/搜索