1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
h = function(m, foreign, n) { "use asm"; var ff = foreign.ff; function f(x) { x = +x; ff(); } return f; }(0, { ff: function() { return { e: String.prototype.substring }; } }, 0); for (var k = 0; k < 999; k++) { h(); }