mirror of
https://github.com/tc39/test262.git
synced 2025-05-30 11:40:30 +02:00
31 lines
700 B
JavaScript
31 lines
700 B
JavaScript
// Copyright (c) 2018 Rick Waldron. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-update-expressions
|
|
description: >
|
|
It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid. (eval)
|
|
info: |
|
|
|
|
sec-update-expressions-static-semantics-assignmenttargettype
|
|
|
|
UpdateExpression : -- UnaryExpression
|
|
|
|
Return invalid.
|
|
|
|
sec-update-expressions-static-semantics-early-errors
|
|
|
|
UpdateExpression -- UnaryExpression
|
|
|
|
It is an early Reference Error if AssignmentTargetType of UnaryExpression is invalid.
|
|
|
|
flags: [noStrict]
|
|
negative:
|
|
phase: parse
|
|
type: ReferenceError
|
|
---*/
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
--eval;
|