|
@@ -9,6 +9,8 @@
|
|
|
####   [arraySum][arraySum]  数组求和
|
|
####   [arraySum][arraySum]  数组求和
|
|
|
####   [arrayRandom][arrayRandom]  从数组中随机获取元素
|
|
####   [arrayRandom][arrayRandom]  从数组中随机获取元素
|
|
|
####   [getEleCount][getEleCount]  返回数组或字符串中一个元素出现的次数
|
|
####   [getEleCount][getEleCount]  返回数组或字符串中一个元素出现的次数
|
|
|
|
|
+####   [getCount][getCount]  返回数组(或字符串)中出现最多的元素和出现次数
|
|
|
|
|
+####   [arrayFlattening][arrayFlattening]  数组扁平化
|
|
|
|
|
|
|
|
### Class
|
|
### Class
|
|
|
####   [addClass][addClass]  为元素添加class
|
|
####   [addClass][addClass]  为元素添加class
|
|
@@ -40,6 +42,7 @@
|
|
|
### Object
|
|
### Object
|
|
|
####   [deepClone][deepClone]  深拷贝,支持常见类型
|
|
####   [deepClone][deepClone]  深拷贝,支持常见类型
|
|
|
####   [isEmptyObject][isEmptyObject]  判断Object是否为空
|
|
####   [isEmptyObject][isEmptyObject]  判断Object是否为空
|
|
|
|
|
+####   [dataType][dataType]  判断Object是否为空
|
|
|
|
|
|
|
|
### Random
|
|
### Random
|
|
|
####   [randomColor][randomColor]   随机生成颜色
|
|
####   [randomColor][randomColor]   随机生成颜色
|
|
@@ -79,6 +82,8 @@
|
|
|
[arraySum]:https://github.com/striveDJiang/utils/blob/master/array/arraySum.js
|
|
[arraySum]:https://github.com/striveDJiang/utils/blob/master/array/arraySum.js
|
|
|
[arrayRandom]:https://github.com/striveDJiang/utils/blob/master/array/arrayRandom.js
|
|
[arrayRandom]:https://github.com/striveDJiang/utils/blob/master/array/arrayRandom.js
|
|
|
[getEleCount]:https://github.com/striveDJiang/utils/blob/master/array/getEleCount.js
|
|
[getEleCount]:https://github.com/striveDJiang/utils/blob/master/array/getEleCount.js
|
|
|
|
|
+[getCount]:https://github.com/striveDJiang/utils/blob/master/array/getCount.js
|
|
|
|
|
+[arrayFlattening]:https://github.com/striveDJiang/utils/blob/master/array/arrayFlattening.js
|
|
|
|
|
|
|
|
[addClass]:https://github.com/striveDJiang/utils/blob/master/class/addClass.js
|
|
[addClass]:https://github.com/striveDJiang/utils/blob/master/class/addClass.js
|
|
|
[hasClass]:https://github.com/striveDJiang/utils/blob/master/class/hasClass.js
|
|
[hasClass]:https://github.com/striveDJiang/utils/blob/master/class/hasClass.js
|
|
@@ -103,6 +108,7 @@
|
|
|
|
|
|
|
|
[deepClone]:https://github.com/striveDJiang/utils/blob/master/object/deepClone.js
|
|
[deepClone]:https://github.com/striveDJiang/utils/blob/master/object/deepClone.js
|
|
|
[isEmptyObject]:https://github.com/striveDJiang/utils/blob/master/object/isEmptyObject.js
|
|
[isEmptyObject]:https://github.com/striveDJiang/utils/blob/master/object/isEmptyObject.js
|
|
|
|
|
+[dataType]:https://github.com/striveDJiang/utils/blob/master/object/dataType.js
|
|
|
|
|
|
|
|
[randomColor]:https://github.com/striveDJiang/utils/blob/master/random/randomColor.js
|
|
[randomColor]:https://github.com/striveDJiang/utils/blob/master/random/randomColor.js
|
|
|
[randomNum]:https://github.com/striveDJiang/utils/blob/master/random/randomNum.js
|
|
[randomNum]:https://github.com/striveDJiang/utils/blob/master/random/randomNum.js
|