2 ms·
when ({ status: s if s >= 500 }) -> throw new Error(’Server Error’) Is it only me or this doesn’t look like JavaScript anymore?
by M4v3R 11mo ago
when ({ status: s if s >= 500 }) -> throw new Error(’Server Error’)
Is it only me or this doesn’t look like JavaScript anymore?
- javatuts 11mo agoJavaScript is moving toward functional programming languages — I don’t see what’s wrong with that.