Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/computed-property-names/class/static/getter-constructor.js

raw
1 // Copyright (C) 2014 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 12.2.5
5 description: >
6 In a class, computed property names for static
7 getters can be named "constructor"
8 ---*/
9 class C {
10 static get ['constructor']() {}
11 }