拆分数组的方法,基于lodash使用方法:const chunk = require('../index.js') console.log(chunk([1, 3, 4], 2)) // [[1, 3], [4]]4 keywords1 dependency3 dependents3 versionsgp1415chunklodash@everything-registry/sub-chunk-2112@infinitebrahmanuniverse/nolb-lv@zalastax/nolb-lv0.0.36 years ago1.0.16 years ago1.0.06 years ago