JavaScript | Variables and Data Types | Question 7

Last Updated :
Discuss
Comments

What is the output of the following code?

JavaScript
let x; 
console.log(typeof x);


null

undefined

object

string

Share your thoughts in the comments