Lodash笔记
Lodash https://www.lodashjs.com/docs/lodash.chunk
1.安装
$ npm i -g npm
$ npm i --save lodash
2.lodash的好处
Lodash通过array、number、objects、string等等的使用难度从而让javaScript变得简单。
Lodah的模块化方法非常适用于:
遍历array、object和string
对值进行操作和检测
创建符合功能的函数
3.数组Array
1)_.chunk(array,[
原创
2020-06-03 18:53:45 ·
454 阅读 ·
0 评论