What will be the output of this JavaScript code?
let a = 5; function test() { let a = 10; console.log(a); } test(); console.log(a);
5 and 10
10 and 10
5 and 5
10 and 5
This question is part of this quiz :