javascript 中(function{})()这种写法什么意思

来源:互联网 发布:熊猫网络智能电视40寸 编辑:程序博客网 时间:2024/04/30 09:51

() 想到的是什么函数执行, so


(function{})(), equals  xx=function(){}, then xx(), first parethese define the anonymous function XX, then excute this funciton


GSName=GSName||{} //define a global namesapce

GSName

0 0
原创粉丝点击