What is the purpose of the typeof operator in JavaScript? #MCQ #JavaScript
Anonymous Quiz
12%
To check if a variable is defined
72%
To determine the data type of a value
13%
To compare two variables
3%
To convert a string to a number