3 ms·
I'd love for syntactic sugar to mark a function, arrow or otherwise, as returning a promise. Reject and resolve could be standard, hidden, context-specific vari
by m1sta_ 10y ago
I'd love for syntactic sugar to mark a function, arrow or otherwise, as returning a promise. Reject and resolve could be standard, hidden, context-specific variables, just like arguments and this.