What does this log when a var and two function declarations share the same name?
console.log(typeof value);
console.log(value());
var value = 1;
function value() {
return "first";
}
function value() {
return "second";
}
console.log(typeof value);
The answer
Work out every line it logs, in order. Then check.
Checking your sign-in…