mirror of
https://github.com/tc39/test262.git
synced 2025-12-05 04:49:45 +01:00
17 lines
479 B
Plaintext
17 lines
479 B
Plaintext
// Copyright (C) 2018 Leo Balter. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
desc: Static Private Methods cannot be named constructor
|
|
info: |
|
|
Class Definitions / Static Semantics: Early Errors
|
|
|
|
ClassElementName : PrivateName ;
|
|
It is a Syntax Error if StringValue of PrivateName is "#constructor"
|
|
template: syntax/invalid
|
|
features: [class-static-methods-private]
|
|
---*/
|
|
|
|
//- elements
|
|
static #constructor() {}
|