js overall architecture

$ () Is an instance of an object is created jquery
 
Approach to the init method of return jqeury a new init, so call $ () is, create an instance of an object jquery
 
init shared with jquery prototype object itself on this prototype to jquery jquery prototype to add properties and methods 

 

 

Guess you like

Origin www.cnblogs.com/ofeliahan/p/12498452.html