const length = 2
const dataList = new Array(length).fill([])
dataList[0].push(1)
console
关于使用ES6中Array.fill遇到的坑
最新推荐文章于 2024-06-02 21:35:55 发布
const length = 2
const dataList = new Array(length).fill([])
dataList[0].push(1)
console