Question #48

Author: admin
tags: JavaScript  
let x = 1;
let y = 5

function func(add) {
  x = x + add;
}

setTimeout(func, 100, y);

y = 10;

setTimeout(console.log, 200, x); // ??
What will the console output be?
1
5
6
10
11
Nothing. There is an error in the code.
Rate the difficulty of the question:
easyhard