map names = [1,2,3,4] for-in for ( k in var arr){ arr[k] //属性 k//遍历序列 } for-of for(let value of arr) { }); forEach arr.forEach(()=>{ }) 效率比较图