自调用匿名函数的2种写法

来源:互联网 发布:ps4模拟windows 编辑:程序博客网 时间:2024/06/06 01:01

方法1

(function(m){  alert(m);}(4));

写法2

(function(m){  alert(m);})(4);


0 0