39. What will the following JavaScript code output?

console.log(foo);
let foo = "bar";