What will be the output of the following JavaScript code? [code] let x=x+1; console.log(x); [/code]

What will be the output of the following JavaScript code?
Code:
let x=x+1;
console.log(x);
A. 0
B. Null
C. Reference error
D. NaN
 

Tìm kiếm

Back
Top