What is the result of the following expression?
const x = 10; function myFunction() { console.log(x); } myFunction();
Error
10
Function
undefined