blob: 2fd0139e0834f586201b19f6d9c24dc28a7e4fbe [file] [log] [blame] [edit]
// Copyright (C) 2020 Igalia S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: static is a valid name of an instance field
info: |
ClassElement:
...
FieldDefinition ;
FieldDefinition:
ClassElementName Initializer_opt
ClassElementName:
PropertyName
template: default
includes: [propertyHelper.js]
features: [class-fields-public]
---*/
//- elements
static;
//- assertions
let c = new C();
verifyProperty(c, "static", {
value: undefined,
enumerable: true,
writable: true,
configurable: true
});