Commonly used functions when in development
-
chunk数组按规格拆分成小数组 -
compact数组去除无效值(false, null, 0, '', undefined, NaN) -
difference数组过滤指定数组 -
drop数组去除前 n 个元素,然后返回剩余的部分 -
dropRight数组去除后 n 个元素,然后返回剩余的部分 -
dropRightWhile -
dropWhile -
fill使用value值来填充(也就是替换)array,从start位置开始, 到end位置结束(但不包含end位置)