3 ms·
> and in most promise libraries .then and .catch DID use try-catch under the hood To catch thrown errors, not to implement the behaviour of transforming reject
by minitech 10y ago
> and in most promise libraries .then and .catch DID use try-catch under the hood
To catch thrown errors, not to implement the behaviour of transforming rejected promises.