5f0ef667c7
Bug: v8:5367, v8:5368 Change-Id: I86f25f9f658e21a05604f3014e6ebf74f1a8a1f7 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1590164 Reviewed-by: Mathias Bynens <mathias@chromium.org> Commit-Queue: Sathya Gunasekaran <gsathya@chromium.org> Cr-Commit-Position: refs/heads/master@{#61139}
15 lines
332 B
JavaScript
15 lines
332 B
JavaScript
// Copyright 2019 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
class Y {
|
|
makeClass() {
|
|
return class {
|
|
setA(val) { this.#a = val; }
|
|
getA() { return this.#a; }
|
|
getB() { return this.#b; }
|
|
}
|
|
}
|
|
#a;
|
|
}
|