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

  when ({ status: s if s >= 500 }) -> throw new Error(’Server Error’)
Is it only me or this doesn’t look like JavaScript anymore?


JavaScript is moving toward functional programming languages — I don’t see what’s wrong with that.




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

Search: