Hacker News new | ask | show | jobs
by alevans4 4719 days ago
Underscore has groupBy and some of the others you may be looking for.
1 comments

Yes.. I do understand why extending the base Array object in JS is deeply frowned upon but at the same time I often wish that these sort of extensions were on the Array object. It feels clunky to use them otherwise.
You should check out Sugar, by far my favourite standard JS lib to use in any complex project: http://sugarjs.com/