DEV Community

loading...

Discussion on: Nulling JavaScript

Collapse
nomaed profile image
Nomæd

Try-Catch aren't popular in JS because engines can't optimize the code well, or something of this sort that I read somewhere a while ago. I use Try-Catch with promises quite often.

Thread Thread
kayis profile image
K Author

I read that's the case for many languages.