Re:Modern Javascript: Everything you missed over the last 10...
by splendidHaiku on Sunday May 16, 2021 @01:28PM
(#27175322)
For me too. Only thing I sometimes struggle with, is figuring out how to place error catches.
Wrap each async functions body in a try catch? Or always attach a catch handler to the calling function? But what if I forget to do that?
Should the caller or the callee handle the errors or can both?
[ Parent
| on HN ]
There are no comments on this comment yet.