TypeError: x is not a functionTypeError: x is not a function
An attempt was made to call a value as a function when it is not a function.
EvalErrorAn error related to the global eval() function. This error is rarely encountered in modern JavaScript.
In modern JavaScript, EvalError is almost never thrown by the engine. It exists for backward compatibility. If you encounter it, it is likely from code that explicitly throws new EvalError() or from very old JavaScript environments.
Avoid using eval() entirely due to security and performance concerns. Use JSON.parse() for JSON data, Function constructors for dynamic code (with caution), or module imports for dynamic loading.
TypeError: x is not a functionAn attempt was made to call a value as a function when it is not a function.
RangeError: Invalid dateAn invalid date string was passed to a Date method that requires a valid date.
TypeError: Cannot convert undefined or null to objectA built-in method that expects an object received null or undefined instead.
SyntaxError: JSON.parse unexpected characterJSON.parse() encountered invalid JSON syntax, such as single quotes, trailing commas, or unquoted keys.
SyntaxError: Applying delete to unqualified name in strict modeThe delete operator was used on a plain variable name in strict mode, which is not allowed.
ENOENTThe specified file or directory does not exist at the given path.