blob: e3f30a63e4f97fb24a98e0c08b6c6e60e51707b0 [file] [log] [blame]
// This file was procedurally generated from the following sources:
// - src/class-elements/static-as-valid-static-field-assigned.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 = "test262";
}
verifyProperty(C, "static", {
value: "test262",
enumerable: true,
writable: true,
configurable: true
});