js中函数调用的两种常用方法使用介绍_javascript技巧【点击查看详情】
js中函数调用的两种常用方法使用介绍_javascript技巧:一个js函数 function test(aa){ window.alert(你输入的是+aa); } 方法一:直接调用 test(dddd); 方法二:函数赋值给变量 var abc=test; abc('中国');//用变量来调用函数 注意: 当我们写成这种形式的时候,var abc=test(dddd)
相关视频/文章