Ask HN: Why aren't exceptions in JavaScript used often?
I always see "success" and "error" callback functions in JavaScript code and libraries.
Why aren't exceptions used more often, so that one would only need to pass a callback function, and wrap everything in a "try" statement?