GEC - Find output

Report a typo

What will be the output of the following code?

var number = 5;

function findNumber() {
    var number = 10;
    console.log(number);
}

findNumber();
Enter a number
___

Create a free account to access the full topic