Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Decaffeinate converts CoffeeScript projects to modern JS. Parent comment
if (__guard__(does.that != null ? does.that.prop : undefined, x => x.exist)) { console.log('yes, no crash!'); } function __guard__(value, transform) { return (typeof value !== 'undefined' && value !== null) ? transform(value) : undefined; }
This was 1 line of CS, how to clean this up without a chance of creating bugs?
How on earth is ESxxx an improvement on CS anyways? It's just not true, it's a leap back.
There are no comments on this comment yet.
This was 1 line of CS, how to clean this up without a chance of creating bugs?
How on earth is ESxxx an improvement on CS anyways? It's just not true, it's a leap back.