What is displayed when the code executes?

Refer to code below:

Let a =’a’;

Let b;

// b = a; console.log(b);

What is displayed when the code executes?
A . ReferenceError: b is not defined
B. A
C. Undefined
D. Null

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments