Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/computed-property-names/class/method/constructor-can-be-setter.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: 14.5.3
5 description: >
6 computed property setter names can be called "constructor"
7 ---*/
8 class C4 {
9 set ['constructor'](_) {}
10 }