blob: 10aba187025fe1cc9eb2e3a0c073cd68ac9700a4 [file] [log] [blame] [edit]
// 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/elements/gen-private-method-static/
name: Static generator private method as a ClassExpression element
esid: prod-GeneratorMethod
info: |
ClassElement :
static PrivateMethodDefinition
MethodDefinition :
GeneratorMethod
14.4 Generator Function Definitions
GeneratorMethod :
* # PropertyName ( UniqueFormalParameters ) { GeneratorBody }
features: [generators, class-static-methods-private]
---*/
var C = class { static *#gen() {
/*{ body }*/
}};