var f = function(x) { return function() { return x } }; f(5)()