1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
function foo(p) { this.f = p; } function use(v, a, b) { var f = v.f; g = f; g = a + b; if (f != null) return; } with({}){} for (var i = 0; i < 2000; i++) use(new foo(i % 2 ? {} : null), 1, 2); use(new foo(null), 2147483548, 1000);