function fun(){
return 3
}
var a=fun
var b=fun()
a是fun函数,b是3
JS中函数名后面的括号加与不加的区别
猜你喜欢
转载自blog.csdn.net/philsonzhao/article/details/78563794
今日推荐
周排行