michael@0: function bind(f) { michael@0: return f.call.apply(f.bind, arguments); michael@0: }; michael@0: function h(a, b) { michael@0: a.x; michael@0: } michael@0: function g(a, b) { michael@0: a.x = b; michael@0: h(a); michael@0: } michael@0: function f() { michael@0: for(var i=0; i<20; i++) { michael@0: g.call(this, {}, bind(function(){})); michael@0: } michael@0: } michael@0: f();