js中Array.prototype.push.call的用法2022-11-15 14:53:03 var arr = [] Array.prototype.push.call(arr,"a","b","c") <==> [].push.call(arr,"a","b","c" ) //结果arr= [a,b,c] 上一篇:关于webpack下热更新?&自动刷新?的小记(非vue-cli)下一篇:js中Array数组的属性和方法