MOST languages do not blindly proceed anyway when there is an error! It
is not (exclusively) a "Javascript thing".
SOME languages kindly give you a way to catch errors.
SOME languages/frameworks/libraries have some default error
action that might log an error and go on.
SOME languages might crash the computer, and then you have to
re-boot and feed in your card deck again. ;) (After correcting the error!)