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