[JS 基础] 函数的调用形式-与-call 小小鲁班 2024-01-31 58 阅读1分钟 function fn() { console.log('run test') } // 调用函数 fn() // 其实fn() 是fn.call() 的简写形式,效果一样 fn.call()