Що буде результатом виконання коду?
let x = 10; function test() { console.log(x); let x = 20; } test();
Опрос
- 10
- undefined
- ReferenceError
- 20