0.0.5 • Published 5 years ago
gp-15-chunk v0.0.5
拆分数组的方法,基于lodash
使用方法:
const chunk = require('../index.js')
console.log(chunk([1, 3, 4], 2)) // [[1, 3], [4]]
拆分数组的方法,基于lodash
使用方法:
const chunk = require('../index.js')
console.log(chunk([1, 3, 4], 2)) // [[1, 3], [4]]