Source code
Revision control
Copy as Markdown
Other Tools
// This file was procedurally generated from the following sources:
// - src/class-elements/static-as-valid-static-field.case
// - src/class-elements/default/cls-expr.template
/*---
description: static is a valid name of a static field (field definitions in a class expression)
esid: prod-FieldDefinition
features: [class-static-fields-public, class]
flags: [generated]
includes: [propertyHelper.js]
info: |
ClassElement:
...
static FieldDefinition ;
---*/
var C = class {
static static;
}
verifyProperty(C, "static", {
value: undefined,
enumerable: true,
writable: true,
configurable: true
});
reportCompare(0, 0);