mirror of https://github.com/tc39/test262.git
29 lines
621 B
JavaScript
29 lines
621 B
JavaScript
// This file was procedurally generated from the following sources:
|
|
// - src/class-elements/static-as-valid-static-field.case
|
|
// - src/class-elements/default/cls-decl.template
|
|
/*---
|
|
description: static is a valid name of a static field (field definitions in a class declaration)
|
|
esid: prod-FieldDefinition
|
|
features: [class-static-fields-public, class]
|
|
flags: [generated]
|
|
includes: [propertyHelper.js]
|
|
info: |
|
|
ClassElement:
|
|
...
|
|
static FieldDefinition ;
|
|
|
|
---*/
|
|
|
|
|
|
class C {
|
|
static static;
|
|
}
|
|
|
|
verifyProperty(C, "static", {
|
|
value: undefined,
|
|
enumerable: true,
|
|
writable: true,
|
|
configurable: true
|
|
});
|
|
|