mirror of
https://github.com/tc39/test262.git
synced 2025-12-06 21:39:48 +01:00
16 lines
448 B
Plaintext
16 lines
448 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 Accessor set Methods cannot be named prototype
|
|
info: |
|
|
Class Definitions / Static Semantics: Early Errors
|
|
|
|
ClassElement : static MethodDefinition
|
|
It is a Syntax Error if PropName of MethodDefinition is "prototype"
|
|
template: syntax/invalid
|
|
---*/
|
|
|
|
//- elements
|
|
static set prototype(_) {}
|