Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
alevans4
· 13y ago · 0 comments
Underscore has groupBy and some of the others you may be looking for.
Comments
[–]
untog
13y ago
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.
[–]
buu700
13y ago
You should check out Sugar, by far my favourite standard JS lib to use in any complex project:
http://sugarjs.com/