js/src/jit-test/tests/jaeger/bug592973-3.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:e376d6f0c944
1 // vim: set ts=8 sts=4 et sw=4 tw=99:
2 function f([a, b, c, d]) {
3 a = b;
4 return function () { return a + b + c + d; };
5 }
6
7 var F = f(["a", "b", "c", "d"]);
8 assertEq(F(), "bbcd");

mercurial