Strict mode Passingnon-Strict mode Passing
Features:
- async-iteration
- class
// This file was procedurally generated from the following sources: // - src/class-elements/grammar-static-async-gen-meth-prototype.case // - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template /*--- description: Static Async Generator Methods cannot be named prototype (class expression) esid: prod-ClassElement features: [async-iteration, class] flags: [generated] negative: phase: parse type: SyntaxError info: | Class Definitions / Static Semantics: Early Errors ClassElement : static MethodDefinition It is a Syntax Error if PropName of MethodDefinition is "prototype" ---*/ $DONOTEVALUATE(); var C = class { static async * prototype() {} };