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-parameter-get-element.js
1
/*
2
* Any copyright is dedicated to the Public Domain.
3
* http://creativecommons.org/licenses/publicdomain/
4
*/
5
6
function assignParameterGetElement(a)
7
{
8
a = 17;
9
return arguments[0];
10
}
11
12
for (var i = 0; i < 5; i++)
13
assertEq(assignParameterGetElement(42), 17);