Debian Codegraph @

js/src/tests/test262/language/expressions/prefix-decrement/11.4.5-2-3-s.js

raw
1 // Copyright (c) 2012 Ecma International. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 11.4.5-2-3-s
6 description: SyntaxError is not thrown for --arguments[...]
7 ---*/
8
9 function testcase() {
10 arguments[1] = 7;
11 --arguments[1];
12 assert.sameValue(arguments[1], 6, 'arguments[1]');
13 }
14 testcase();
15
16 reportCompare(0, 0);