forEach :即Array.prototype.forEach,隻有數組才有的方法,相當於for 循環遍歷數組。用法:arr.forEach(function(item,index,array){…} ...
確定! 回上一頁