11.3.1-2-3.js (464B)
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.3.1-2-3-s 6 description: > 7 SyntaxError is not thrown if the identifier 'arguments[...]' appears as a 8 PostfixExpression(arguments++) 9 ---*/ 10 11 function testcase() { 12 arguments[1] = 7; 13 arguments[1]++; 14 assert.sameValue(arguments[1], 8, 'arguments[1]'); 15 } 16 testcase(); 17 18 reportCompare(0, 0);