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)

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