Analyze the following code:
let x = 10; function test() { let x = 20; console.log(x); }
What will be displayed in the console as a result of its execution?
"x"
20
10
- Nothing will show up.
More Questions: JavaScript Essentials 1 – JSE1: Module 5 Test
Please login or Register to submit your answer