JavaScript Interview questions

Total available count: 22
Subject - JavaScript Frameworks
Subsubject - JavaScript

What are the different types of errors in JavaScript?

There are six types of errors,

  • EvalError: Raised when the eval() functions is used in an incorrect manner
  • RangeError: Raised when a numeric variable exceeds its allowed range
  • ReferenceError: Raised when an invalid reference is used
  • SyntaxError: Raised when a syntax error occurs while parsing JavaScript code
  • TypeError: Raised when the type of a variable is not as expected
  • URIError: Raised when the encodeURI() or decodeURI() functions are used in an incorrect manner


Next 5 interview question(s)

What is the way to get the status of a CheckBox?
What are new features of Angular?
What is an application shell?
Angular versions?
What is a Component?