id-arguments-strict-strict.js (485B)
1 // |reftest| error:SyntaxError 2 'use strict'; 3 // Copyright (c) 2012 Ecma International. All rights reserved. 4 // This code is governed by the BSD license found in the LICENSE file. 5 /*--- 6 es5id: 11.13.1-4-30-s 7 description: > 8 Strict Mode - SyntaxError is thrown if the identifier 'arguments' appears as 9 the LeftHandSideExpression (PrimaryExpression) of simple assignment(=). 10 negative: 11 phase: parse 12 type: SyntaxError 13 flags: [onlyStrict] 14 ---*/ 15 16 $DONOTEVALUATE(); 17 18 (arguments) = 20;