mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
25 lines
654 B
Plaintext
25 lines
654 B
Plaintext
// Copyright (C) 2018 Bloomberg LP. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
path: language/expressions/class/async-private-method-static-
|
|
name: Static private async method as a ClassExpression element
|
|
esid: prod-AsyncMethod
|
|
info: |
|
|
ClassElement :
|
|
static PrivateMethodDefinition
|
|
|
|
MethodDefinition :
|
|
AsyncMethod
|
|
|
|
Async Function Definitions
|
|
|
|
AsyncMethod :
|
|
async [no LineTerminator here] # PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
|
|
features: [async-functions, class-static-methods-private]
|
|
---*/
|
|
|
|
var C = class { static async #method() {
|
|
/*{ body }*/
|
|
}};
|