Source code

Revision control

Copy as Markdown

Other Tools

// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.5.3
description: >
computed property generator method names can be called "constructor"
---*/
class C4 {
*['constructor']() {}
}
reportCompare(0, 0);