Consider the following code snippet
let x=x+1;
console.log(x);
What will be the result for the above code snippet?
let x=x+1;
console.log(x);
A. 0
B. Null
C. ReferenceError
D. NaN
Answer: Option D

Join The Discussion