Hacker News new | ask | show | jobs
by IanCal 4487 days ago
> only the JavaScript one is also deliberately sabotaged in order to really stand out as an abomination.

I hope this is the case, otherwise someone somewhere thought this was the best JS code to solve the problem:

for (i = _i = _ref = this.length - 1; _ref <= 1 ? _i <= 1 : _i >= 1; i = _ref <= 1 ? ++_i : --_i) {

1 comments

I would guess this is JS transpiled from CoffeeScript or something similar. That makes it an even less fair comparison, as ClojureScript would compile down to something just as wacky looking.