Debian Codegraph @

js/src/tests/test262/language/statements/variable/id-arguments-strict-strict.js

raw
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-28-s
7 description: >
8 Strict Mode - SyntaxError is thrown if the identifier 'arguments' appears
9 as the LeftHandSideExpression of simple assignment(=) under strict mode
10 negative:
11 phase: parse
12 type: SyntaxError
13 flags: [onlyStrict]
14 ---*/
15
16 $DONOTEVALUATE();
17
18 var arguments;