javascript · javascript/EvalError
EvalError
EvalError
Historically thrown for misuse of the global eval() function. Modern JavaScript engines no longer throw this error for any built-in operation; it remains only for backward compatibility and can still be thrown explicitly by user code.