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}
This commit is contained in:
verwaest 2016-11-14 01:16:15 -08:00 committed by Commit bot
parent c759a3d847
commit 942604dfb2

View File

@ -0,0 +1,8 @@
// Copyright 2016 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 A {}
class B {}
Object.assign(B, A);
assertEquals("class B {}", B.toString());