←back to thread

13 points javatuts | 1 comments | | HN request time: 0.998s | source
Show context
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 #
1. javatuts ◴[] No.45844456[source]
JavaScript is moving toward functional programming languages — I don’t see what’s wrong with that.