What is the result of the following expression?
(() => { var x = 10; return () => console.log(x); })()();
Error
undefined
10
Function