Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Underscore has groupBy and some of the others you may be looking for.


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/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: