js/src/jit-test/tests/basic/bug651966.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:63412fb424c0
1
2 function f(code) {
3 g = eval("(function(){" + code + "})");
4 g()
5 }
6 f();
7 f();
8 f();
9 f();
10 f();
11 f();
12 f();
13 f();
14 f();
15 f();
16 f();
17 f();
18 f();
19 f();
20 f();
21 f();
22 try { f("function x(){}(x())"); } catch (e) {}
23
24 function f2() {
25 a = {
26 x
27 } = x, (x._)
28 function
29 x()({})
30 }
31 try { f2(); } catch (e) {}
32
33 function f3() {
34 var x = 0;
35 with ({}) { x = 'three'; }
36 return x;
37 }
38 f3();

mercurial