summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arguments/args-redefine-length-1.js
blob: c71c97b1cb8385e67a8d1383aea2a47cb664bdf4 (plain)
1
2
3
4
5
6
7
function t()
{
  Object.defineProperty(arguments, "length", { value: 17 });
  for (var i = 0; i < 5; i++)
    assertEq(arguments.length, 17);
}
t();