ES6数组 月半咸鱼 2023-05-26 95 阅读1分钟 ES6的一些数组的方法 1.数组.map() 2.数组.flat() flat可以处理数组套数组也就是扁平化 3.数组.find() 4.数组.findIndex() 5.数组.fill() fill方法是填充数组