JavaScript Interview questions


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

What is the use of isNaN function?

isNaN function returns true if the value is not a number otherwise it returns false.
Number.isNaN(value);
Example: -
Number.isNaN(10); // returns false as ‘10’ is a number
Number.isNaN(“a”); //returns true as “a” is not a number




Next 5 interview question(s)

1
What is NEGATIVE_INFINITY?
2
What is 'this' keyword in JavaScript?
3
What is a prompt box?
4
Which symbol is used for comments in JavaScript?
5
What is the difference between == and === operator?