如何在不使用apply實現數組中的內容作為函數的參數?
在不使用apply<愛尬聊_百科詞條>、call、bind等改變this的函數實現數組中的內容作為函數的參數
function abc(){ console.log(arguments.length) }var arr = [11,232,13,43,52,6];//不使用apply與call、bind,實現 abc(11,232,13,43,52,6)
放飛遐想坐看云海把昨日還給我前 4小時前
玩過es6么?
在不使用apply<愛尬聊_百科詞條>、call、bind等改變this的函數實現數組中的內容作為函數的參數
function abc(){ console.log(arguments.length) }var arr = [11,232,13,43,52,6];//不使用apply與call、bind,實現 abc(11,232,13,43,52,6)
玩過es6么?