2014-07-22 01:09:02 +02:00
|
|
|
// Copyright (c) 2012 Ecma International. All rights reserved.
|
2015-07-17 17:42:45 +02:00
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
2014-07-22 01:09:02 +02:00
|
|
|
|
|
|
|
/*---
|
2018-12-18 18:56:34 +01:00
|
|
|
esid: sec-update-expressions
|
2014-07-22 01:09:02 +02:00
|
|
|
description: >
|
2018-12-18 18:56:34 +01:00
|
|
|
It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict. (arguments)
|
|
|
|
info: |
|
|
|
|
sec-identifiers-static-semantics-assignmenttargettype
|
|
|
|
|
|
|
|
If this IdentifierReference is contained in strict mode code and StringValue of Identifier is "eval" or "arguments", return strict.
|
|
|
|
|
|
|
|
sec-update-expressions-static-semantics-early-errors
|
|
|
|
|
|
|
|
UpdateExpression: LeftHandSideExpression --
|
|
|
|
|
|
|
|
It is an early Syntax Error if AssignmentTargetType of LeftHandSideExpression is strict.
|
2014-07-22 01:09:02 +02:00
|
|
|
flags: [onlyStrict]
|
2018-09-24 18:29:30 +02:00
|
|
|
negative:
|
|
|
|
phase: parse
|
|
|
|
type: SyntaxError
|
2014-07-22 01:09:02 +02:00
|
|
|
---*/
|
|
|
|
|
2018-10-11 16:59:24 +02:00
|
|
|
$DONOTEVALUATE();
|
2018-09-24 18:29:30 +02:00
|
|
|
|
|
|
|
arguments--;
|