JavaScript Datatype Quiz

 

Results

#1. How many data types are there in JavaScript?

#2. Which of the following is NOT a primitive data type in JavaScript?

#3. What does the typeof operator return for null?

#4. How do you create a BigInt in JavaScript?

#5. What is the main purpose of Symbol data type?

#6. Which value is considered falsy in JavaScript?

#7. What is the difference between undefined and null?

#8. Which of these can be used to create a string in JavaScript?

#9. What does NaN stand for in JavaScript?

#10. Which data type can store a collection of key-value pairs?

Previous
Finish

Leave a Comment