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