If by if statements you mean something like error code checking that you have to do in bash scripting, then most definitely use try-catch blocks. They are much more intelligible and less cluttering than if-statements.
If you work with promises or observables much, you'll find the .catch() operator very convenient. It provides a clean way to handle errors in asychronous control flows.