Question #107

Author: admin
tags: JavaScript  
const x = 1;

function func1() {
  const x = 2;
  return function() {
    console.log(x);
  }
}

const func2 = func1();

func2();
What will the console output be?
1
2
Nothing
Rate the difficulty of the question:
easyhard