cf.completefrontend

Predict the outputHard

What does this log when a function is declared inside a block in a non-strict script?

What does this log?
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…