←back to thread

13 points javatuts | 2 comments | | HN request time: 0s | source
1. M4v3R ◴[] No.45844273[source]

  when ({ status: s if s >= 500 }) -> throw new Error(’Server Error’)
Is it only me or this doesn’t look like JavaScript anymore?
replies(1): >>45844456 #
2. javatuts ◴[] No.45844456[source]
JavaScript is moving toward functional programming languages — I don’t see what’s wrong with that.