4 ms·
Have you tried diving into ES6 yet? It's much more terse now that they stole the good bits from coffeescript... let some_func = callback => callback(new Er
by mrspeaker 11y ago
Have you tried diving into ES6 yet? It's much more terse now that they stole the good bits from coffeescript...
let some_func = callback => callback(new Error('boom'));
let some_func = err => console.log(err || 'everything is fine');
- warfangle 11y agoI promise I started writing my comment before I saw yours ;)