Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.

Commit 942604d

Browse files
verwaestCommit bot
authored and
Commit bot
committed
Add test for making private symbols non-enumerable
BUG=chromium:664411 Review-Url: https://codereview.chromium.org/2498963002 Cr-Commit-Position: refs/heads/master@{#40950}
1 parent c759a3d commit 942604d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Copyright 2016 the V8 project authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style license that can be
3+
// found in the LICENSE file.
4+
5+
class A {}
6+
class B {}
7+
Object.assign(B, A);
8+
assertEquals("class B {}", B.toString());

0 commit comments

Comments
 (0)