Hacker News new | past | comments | ask | show | jobs | submit login

Hmmmm... I wonder how you would avoid the expressions from being evaluated without wrapping then in a function (sorry if it's a lame question, I haven't done any JS in years).

Not that there is anything wrong with lambdas, but it's quite a los of boilerplate for something as simole as a cond.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: