Function Declarations vs Expressions

What will this code output?
const x = 10;
function foo() {
  console.log(x);
  var x = 20;
}
foo();
Next Question (18/20)