Remove redundant and confusing test. (#2728)

The syntax error here is already tested by `language/expressions/delete/identifier-strict.js`. The description is just wrong.
This commit is contained in:
devsnek 2020-08-15 10:15:16 -05:00 committed by GitHub
parent 6c3f8cdc75
commit 00770684b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 18 deletions

View File

@ -1,18 +0,0 @@
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 11.4.1-5-a-5gs
description: >
Strict Mode - SyntaxError is thrown when deleting a variable which
is primitive type(boolean)
negative:
phase: parse
type: SyntaxError
flags: [onlyStrict]
---*/
$DONOTEVALUATE();
var _11_4_1_5 = 7;
delete _11_4_1_5;