(function() {
//注册命名空间zzw到window对象上 window['zzw'] = {}
//定义一个$函数 function $() { alert("hello $"); }
//把$函数注册到gyb命名空间中 window['zzw']['$'] = $;})();