# Created by Jerry Wang, last modified on Sep 25, 2014 line 12使用noConflict将$的控制权交还给其他第三方library之后,line 13再使用$("div")将报如下错误: ![clipboard1](https://user-images.githubusercontent.com/5669954/27039060-1afb45ca-4f8d-11e7-9d7a-ac95130029a5.png) 如果想继续使用$,做法是使用一个自执行匿名函数( 见line 14~16 ), 定义一个形参,将jQuery传入形参,即可在自执行函数体内继续使用$ ![clipboard2](https://user-images.githubusercontent.com/5669954/27039061-1b02c408-4f8d-11e7-9f08-cd839018fa2a.png) noConflict的实现仅仅是把全局变量中的$重置成undefined: ![clipboard3](https://user-images.githubusercontent.com/5669954/27039062-1b1105b8-4f8d-11e7-90c1-236f78c86c50.png)