| 1 |
// Copyright (c) 2018 Mike Pennisi. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
esid: sec-delete-operator-static-semantics-early-errors |
| 5 |
description: Parsing error when operand is an IdentifierReference |
| 6 |
info: | |
| 7 |
It is a Syntax Error if the UnaryExpression is contained in strict mode code |
| 8 |
and the derived UnaryExpression is PrimaryExpression:IdentifierReference. |
| 9 |
negative: |
| 10 |
phase: parse |
| 11 |
type: SyntaxError |
| 12 |
flags: [onlyStrict] |
| 13 |
---*/ |
| 14 |
|
| 15 |
throw "Test262: This statement should not be evaluated."; |
| 16 |
|
| 17 |
delete test262identifier; |