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

If you use an anonymous function instead of a named function you'll probably end up writing a comment to clarify ... :P

Sometimes the code explains itself though!?

  allowed = members.filter(member => member.age >= ageLimit);


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

Search: