underscore提供如下函数,很是方便: Underscore 提供了常用的函數。 Collections each map reduce reduceRight find filter where findWhere reject every some contains invoke pluck max min sortBy groupBy countBy shuffle toArray size Arrays first initial last rest compact flatten without union intersectio...