JavaScript | Introduction To JavaScript| Question 9

Last Updated :
Discuss
Comments

What does the following code output?

JavaScript
console.log(typeof 42);


"string"

"number"

"undefined"

"object"

Share your thoughts in the comments