问:js如何依次取数组的值?- forEach()取值
七娃博客
19 次
let arr = [0,1,2,3,5,6,85]; arr.forEach(function(item){ console.log(item) })
评论 | 0 条评论