liujiusheng / blog

个人博客,blog
19 stars 0 forks source link

关于js中的数组 #10

Open liujiusheng opened 7 years ago

liujiusheng commented 7 years ago

map方法:map(function(val,index){});第二个参数才是索引,这与jquery中的map相反