An exception is a condition that interrupts normal code execution. In JavaScript syntax errors are a very common source of exceptions.
Updated on April 20, 2024 by Datarist.