安裝引用Lodash後使用其中的數組方法數組
let array = _.chunk(_.fill(Array(_.multiply(m * n)), 1), n); 複製代碼
Lodash中文文檔bash