summaryrefslogtreecommitdiff
path: root/js/src/jit-test/tests/jaeger/bug592973-3.js
blob: ae4694955f5c81c1771f52dfa1f3cab22a50b362 (plain)
1
2
3
4
5
6
7
8
// vim: set ts=4 sw=4 tw=99 et:
function f([a, b, c, d]) {
  a = b;
  return function () { return a + b + c + d; };
}

var F = f(["a", "b", "c", "d"]);
assertEq(F(), "bbcd");