Data Types in JavaScript Interview Questions – Data Types in JavaScript Online Quiz

Question 1:  How many primary data types are there in JavaScript?

Question 2:  Which of the following is a primitive data type in JavaScript?

Question 3:  What is the default value of an uninitialized variable in JavaScript?

Question 4:  Which data type is used to store true or false values?

Question 5:  Which of the following is NOT a valid data type in JavaScript?

Question 6:  How do you check the data type of a variable in JavaScript?

Question 7:  What is the data type of null in JavaScript?

Question 8:  Which data type is used to store multiple values in a single variable?

Question 9:  What will be the output of typeof NaN in JavaScript?

Question 10:  Which statement is true about JavaScript data types?

Leave a Reply