underscorejs 学习参考
前言
1.
简介
2.
集合
2.1.
each
2.2.
map
2.3.
reduce
2.4.
reduceRight
2.5.
find
2.6.
filter
2.7.
where
2.8.
findWhere
2.9.
reject
2.10.
every
2.11.
some
2.12.
contains
2.13.
invoke
2.14.
pluck
2.15.
max
2.16.
min
2.17.
sortBy
2.18.
groupBy
2.19.
indexBy
2.20.
countBy
2.21.
shuffle
2.22.
sample
2.23.
toArray
2.24.
size
2.25.
partition
3.
数组
3.1.
first
3.2.
initial
3.3.
last
3.4.
rest
3.5.
compact
3.6.
flatten
3.7.
without
3.8.
union
3.9.
intersection
3.10.
difference
3.11.
uniq
3.12.
zip
3.13.
unzip
3.14.
object
3.15.
indexOf
3.16.
lastIndexOf
3.17.
sortedIndex
3.18.
findIndex
3.19.
findLastIndex
3.20.
range
4.
函数
4.1.
bind
4.2.
bindAll
4.3.
partial
4.4.
memoize
4.5.
delay
4.6.
defer
4.7.
throttle
4.8.
debounce
4.9.
once
4.10.
after
4.11.
before
4.12.
wrap
4.13.
negate
4.14.
compose
5.
对象
5.1.
keys
5.2.
allKeys
5.3.
values
5.4.
mapObject
5.5.
pairs
5.6.
invert
5.7.
create
5.8.
functions
5.9.
findKey
5.10.
extend
5.11.
extendOwn
5.12.
pick
5.13.
omit
5.14.
defaults
5.15.
clone
5.16.
tap
5.17.
has
5.18.
matcher
5.19.
property
5.20.
propertyOf
5.21.
isEqual
5.22.
isMatch
5.23.
isEmpty
5.24.
isElement
5.25.
isArray
5.26.
isObject
5.27.
isArguments
5.28.
isFunction
5.29.
isString
5.30.
isNumber
5.31.
isFinite
5.32.
isBoolean
5.33.
isDate
5.34.
isRegExp
5.35.
isNaN
5.36.
isNull
5.37.
isUndefined
6.
实用方法
6.1.
noConflict
6.2.
identity
6.3.
constant
6.4.
noop
6.5.
times
6.6.
random
6.7.
mixin
6.8.
iteratee
6.9.
uniqueId
6.10.
escape
6.11.
unescape
6.12.
result
6.13.
now
6.14.
template
7.
链式
7.1.
chain
7.2.
value
Powered by
GitBook
underscorejs 学习参考
delay