projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
arguments
/
nonstrict-assign.js
1
/*
2
* Any copyright is dedicated to the Public Domain.
3
* http://creativecommons.org/licenses/publicdomain/
4
*/
5
load(libdir + 'array-compare.js');
6
7
function assign(a)
8
{
9
a = 17;
10
return arguments;
11
}
12
13
var a1;
14
for (var i = 0; i < 5; i++)
15
a1 = assign(1);
16
17
assertEq(arraysEqual(a1, [17]), true);