Closed jubishop closed 2 years ago
No catch? Just check for undefined?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch
yes, but also no. leaving like is so we can have default behavior instead of promises that require a then() always.
No catch? Just check for undefined?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch