Hacker News new | ask | show | jobs
by M4v3R 217 days ago

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

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