Skip to content

Tag Archives: JavaScript-Errors

To handle any error which occurs while execution, the methods of error handling are used. In these methods, the type of error where it is… Read More
There are several types of errors that we encounter in JavaScript, for example, SyntaxError, RangeError, ReferenceError, EvalError, etc. The EvalError indicates an error regarding the… Read More
The fileName is a non-standard property that contains the path of the file that raised this error. It is recommended to not use this property… Read More
In JavaScript, the Error.prototype.lineNumber property helps us to determine which line in our code corresponds to an error. One important thing to note is that… Read More
Javascript Error() constructor is used to create a new error object. Error objects are arising at runtime errors. The error object also uses as the… Read More
Error objects are arising at runtime errors. The error object also uses as the base object for the exceptions defined by the user. The complete… Read More
In this article, we will learn to log script Errors using JavaScript. It is useful in case where scripts from any other source run/executes under… Read More
This JavaScript warning Date.prototype.toLocaleFormat is deprecated; consider using Intl.DateTimeFormat instead occurs if user is using the non-standard Date.prototype.toLocaleFormat method. Message: Warning: Date.prototype.toLocaleFormat is deprecated; consider… Read More
This JavaScript exception can’t delete non-configurable array element that occurs if there is an attempt to short array-length, and any one of the array’s elements… Read More
This JavaScript exception cyclic object value occurs if the references of objects were found in JSON. JSON.stringify() fails to solve them. Message: TypeError: cyclic object… Read More
This JavaScript warning Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead occurs if there is a source map syntax defined in a… Read More
This JavaScript exception invalid date occurs if the string that has been provided to Date or Date.parse() is not valid. Message: RangeError: invalid date (Edge)… Read More
This JavaScript warning 08 (or 09) is not a legal ECMA-262 octal constant occurs if the literals 08 or 09 are used as a number.… Read More
This JavaScript exception malformed URI sequence occurs if the encoding or decoding of URI is unsuccessful. Message: URIError: The URI to be encoded contains invalid… Read More
This JavaScript exception deprecated caller or arguments usage occurs only in strict mode. It occurs if any of the Function.caller or Function.arguments properties are used,… Read More