Skip to content

Commit 942604d

Browse files
verwaestCommit bot
authored andcommitted
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

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
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)