| |||||
Portions of Underscore are inspired by or borrowed from Oliver Steele's Functional, Prototype.js and John Resig's Micro-Templating.
Functional programming support is added, but without extending any of the built-in JavaScript objects.
Underscore provides 60-odd functions that support both the usual functional suspects: map, select, invoke — as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, reduce, filter, every, some and indexOf.
What's New in This Release: [ read full changelog ]
· Added a default _.identity iterator to countBy and groupBy.
· The uniq function can now take array, iterator, context as the argument list.
· The times function now returns the mapped array of iterator results.
· Simplified and fixed bugs in throttle.

Via: Underscore.js 1.4.3
No comments:
Post a Comment