[244 Iterate over Array with map]
问题链接:https://w.freecodecamp.cn/challenges/condense-arrays-with-reduce
参考链接:JavaScript Array map() 方法
Map方法迭代数组
1.问题描述
map 方法可以方便的迭代数组,例子:
var timesFour = oldArray.map(function(val){
问题链接:https://w.freecodecamp.cn/challenges/condense-arrays-with-reduce
参考链接:JavaScript Array map() 方法
map 方法可以方便的迭代数组,例子:
var timesFour = oldArray.map(function(val){