Underscore提供的100多個函數,主要涉及對Collection、Object、Array、Function的操做:css
Collections(集合)
each, map, reduce, reduceRight, find, filter, reject, all, any, include, invoke,pluck, max, min, sortBy, groupBy, sortedIndex, shuffle, toArray, sizegit
Arrays(數組)
first, initial, last, rest, compact, flatten, without, union, intersection,difference, uniq, zip, indexOf, lastIndexOf, rangegithub
Functions(函數)
bind, bindAll, memoize, delay, defer, throttle, debounce, once, after, wrap,compose數組
Objects(對象)
keys, values, functions, extend, defaults, clone, tap, isEqual, isEmpty,isElement, isArray, isArguments, isFunction, isString, isNumber, isBoolean,isDate, isRegExp, isNaN, isNull, isUndefinedide
Utility(功能)
noConflict, identity, times, mixin, uniqueId, escape, template函數