数据分析师2017-09-30 23:36:12
What is the difference between these expressions? -PHP Chinese website Q&A-What are the differences between these representations? -PHP Chinese website Q&A
Please watch and learn.
迷茫2016-12-22 15:37:34
function sub2()表示定义一个函数, var sub2()表示定义一个变量,var sub2=function();表示定义一个变量获取方法function()的返回值,但是function是Javascript的关键字不能作为方法名。