blob: 8dd75e7209f4dc0f22e443ff35e65fa401145c92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
load(libdir + 'array-compare.js');
function assign(a)
{
a = 17;
return arguments;
}
var a1;
for (var i = 0; i < 5; i++)
a1 = assign(1);
assertEq(arraysEqual(a1, [17]), true);
|