x = 0; f = function () {return x;} x = 1; f();
Output