4 ms·
I love programming, if only for its vocabulary. Where else can you use bangs, splats, sloshes, whacks and thunks on a daily basis? Apart from the comic book ind
by chris_wot 11y ago
I love programming, if only for its vocabulary. Where else can you use bangs, splats, sloshes, whacks and thunks on a daily basis? Apart from the comic book industry that is.
- cmpb 11y agoMy favorite is the 'empty promise' from ES6: new Promise((resolve, reject) => { ... resolve(); });
- lobster_johnson 11y agoIf you're just resolving, use this [1]: Promise.resolve(); [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/resolve https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...