DEV Community

Discussion on: Nulling JavaScript

 
kayis profile image
K

yes, like I said model your data right and things get more robust.

The promis catching is nice and I prefer it, but sometimes await is nicer in a specific case and you have to try-catch, I guess ?. would be simpler then.