Question #102

Author: admin
tags: JavaScript  
const x = 1;

const obj = {
  x: 2,
  method() {
    console.log(this.x);
  },
};

const func = obj.method.bind({ x: 3 });

func();
What will the console output be?
1
2
3
Nothing. There will be an error.
Rate the difficulty of the question:
easyhard