mirror of
https://github.com/tc39/test262.git
synced 2025-12-09 23:09:54 +01:00
33 lines
587 B
Plaintext
33 lines
587 B
Plaintext
// 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
|
|
});
|
|
|