summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug551705.js
blob: a97d988687588533a46a69021ffb4b1c40f4f53d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
(Function("\
  for each(let x in [\n\
  true,\n\
  (1),\n\
  (1),\n\
  (1),\n\
  (1),\n\
  true,\n\
  true,\n\
  true,\n\
  (1),\n\
  true,\n\
  true,\n\
  (1),\n\
  true,\n\
  true,\n\
  (1),\n\
  (1),\n\
  true,\n\
  true,\n\
  true,\n\
  true\n\
  ]) { \n\
    ((function f(aaaaaa) {\n\
       return aaaaaa.length == 0 ? 0 : aaaaaa[0] + f(aaaaaa.slice(1))\n\
     })([\n\
      x,\n\
      Math.I,\n\
      '',\n\
      null,\n\
      Math.I,\n\
      null,\n\
      new String(),\n\
      new String()\n\
      ]))\n\
}"))()

/* Don't assert/crash. */