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