### deepFlatten
深拼合数组。
使用递归。使用`Array.concat()`与空数组 (`[]`) 和跨页运算符 (`...`) 来拼合数组。递归拼合作为数组的每个元素。
~~~js
const deepFlatten = arr => [].concat(...arr.map(v => Array.isArray(v) ? deepFlatten(v) : v));
// deepFlatten([1,[2],[[3],4],5]) -> [1,2,3,4,5]
~~~
- 数组类
- arrayMax
- arrayMin
- chunk
- compact
- countOccurrences
- deepFlatten
- difference
- distinctValuesOfArray
- dropElements
- everyNth
- filterNonUnique
- flatten
- flattenDepth
- groupby
- head
- initial
- initializeArrayWithRange
- initializeArrayWithValues
- intersection
- last
- mapObject
- nthElement
- pick
- pull
- remove
- sample
- shuffle
- similarity
- symmetricDifference
- tail
- take
- takeRight
- union
- without
- zip
- 浏览器
- bottomVisible
- currentURL
- elementIsVisibleInViewport
- getScrollPosition
- getURLParameters
- redirect
- scrollToTop
- 日期
- getDaysDiffBetweenDates
- JSONToDate
- toEnglishDate
- 函数类
- chainAsync
- compose
- curry
- functionName
- pipe
- promisify
- runPromisesInSeries
- sleep
- 数学
- arrayAverage
- arraySum
- collatz
- digitize
- distance
- factorial
- fibonacci
- gcd
- hammingDistance
- isDivisible
- iseven
- lcm
- median
- palindrome
- percentile
- powerset
- randomIntegerInRange
- randomNumberInRange
- round
- standardDeviation
- 媒体
- speechSynthesis
- 节点
- JSONToFile
- readFileLines
- 对象
- cleanObj
- objectFromPairs
- objectToPairs
- shallowClone
- truthCheckCollection
- 字符串
- anagrams
- Capitalize
- capitalizeEveryWord
- escapeRegExp
- fromCamelCase
- reverseString
- sortCharactersInString
- toCamelCase
- truncateString
- 实用
- coalesce
- coalesceFactory
- extendHex
- gettype
- hexToRGB
- isArray
- isBoolean
- isFunction
- isNumber
- isString
- isSymbol
- RGBToHex
- timeTaken
- toOrdinalSuffix
- UUIDGenerator
- validateEmail
- validateNumber
- copy
- clone
- throttle
- Shake
- isSupportTouch