mirror of
https://github.com/tc39/test262.git
synced 2025-12-17 18:53:49 +01:00
22 lines
469 B
Plaintext
22 lines
469 B
Plaintext
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
desc: >
|
|
It's a SyntaxError if delete operator is applied to CallExpression.PrivateName
|
|
async generator
|
|
template: delete-error
|
|
features: [class-methods-private, async-iteration]
|
|
---*/
|
|
|
|
//- infieldsetup
|
|
g = this.f;
|
|
//- infunctionsetup
|
|
var g = this.f;
|
|
//- expression
|
|
g().#m
|
|
//- functiondeclaration
|
|
f() {
|
|
return this;
|
|
}
|
|
async *#m() {} |