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

If you want to make that even less verbose, try myArray.map(...).filter(...) (those methods don't have to come from underscore, they exist on the Array prototype as of ES5).


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

Search: