安装引用Lodash后使用其中的数组方法数组
let array = _.chunk(_.fill(Array(_.multiply(m * n)), 1), n); 复制代码
Lodash中文文档bash