mirror of
https://github.com/tc39/test262.git
synced 2025-12-07 05:49:49 +01:00
17 lines
519 B
Plaintext
17 lines
519 B
Plaintext
// Copyright (C) 2018 Leo Balter. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
desc: Static Async Generator Private Methods can be named "#prototype"
|
|
info: |
|
|
Class Definitions / Static Semantics: Early Errors
|
|
|
|
ClassElement : static MethodDefinition
|
|
It is a Syntax Error if PropName of MethodDefinition is "prototype"
|
|
template: syntax/valid
|
|
features: [async-iteration, class-static-methods-private]
|
|
---*/
|
|
|
|
//- elements
|
|
static async * #prototype() {}
|