comparison: js/src/jit-test/tests/arguments/nonstrict-assign-element-get-parameter.js
js/src/jit-test/tests/arguments/nonstrict-assign-element-get-parameter.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Any copyright is dedicated to the Public Domain. |
|
3 * http://creativecommons.org/licenses/publicdomain/ |
|
4 */ |
|
5 |
|
6 function assignElementGetParameter(a) |
|
7 { |
|
8 arguments[0] = 17; |
|
9 return a; |
|
10 } |
|
11 |
|
12 for (var i = 0; i < 5; i++) |
|
13 assertEq(assignElementGetParameter(42), 17); |