What does this log when a function is declared inside a block in a non-strict script?
console.log(typeof run);
{
console.log(typeof run);
function run() {}
}
console.log(typeof run);
The answer
Work out every line it logs, in order. Then check.
Checking your sign-in…