jQuery源碼解讀之init函數

jQuery的構造方法: // 直接new了一個對象。同時根據jQuery.fn = jQuery.prototype,jQuery.fn至關於jQuery.prototype。javascript jQuery = function( selector, context ) { return new jQuery.fn.init( selector, context ); },
相關文章
相關標籤/搜索