10 Questions
What is the result of the operation 2+4*5/9?
6.222
What is the result of the expression '33abc' converted to a Number?
NaN
Which type of data type is Symbol?
Primitive
What is the result of the expression 1+'2'?
'12'
What happens when a variable declared using a primitive data type is assigned to another variable?
The value is copied and changes to the new variable do not affect the original variable
What is the result of the expression '2'+2+2?
222
What is the result of the expression 100++?
101
What is the result of the conversion Number('Mritun')?
NaN
Which one is a non-primitive data type?
{}
What happens when a variable declared using a primitive data type is assigned to another variable?
The value is copied and changes made to one variable do not affect the other.
Test your knowledge of data types such as null, undefined, and symbol, as well as type conversion in JavaScript. Learn about the differences between null, undefined, and symbol, and explore how to convert values to numbers, booleans, and strings.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free