Login and Register ×
Check your Email for the OTP
JavaScript MCQ Javascript Data Types MCQ
⚠ Report ✓ Question Verified Copy Link
var num = 10; console.log(typeof num);
Explanation:
The typeof operator in JavaScript returns a string indicating the type of the operand. In this case, the operand is the variable num, which has been assigned the value of 10, which is a number. Therefore, the typeof operator will return "number".
typeof
10
Related Topic:
Share Above MCQ
Learn More MCQ Questions from JavaScript MCQ Javascript Data Types MCQ