0 / 60 seg.

What is the result of the following code?

function outer() {
  let x = 10;
  function inner() {
    console.log(x);
  }
  return inner;
}
const fn = outer();
fn();