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

Commit

Permalink
Add test for making private symbols non-enumerable
Browse files Browse the repository at this point in the history
BUG=chromium:664411

Review-Url: https://codereview.chromium.org/2498963002
Cr-Commit-Position: refs/heads/master@{#40950}
  • Loading branch information
verwaest authored and Commit bot committed Nov 14, 2016
1 parent c759a3d commit 942604d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/mjsunit/regress/regress-private-enumerable.js
Original file line number Diff line number Diff line change
@@ -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());

0 comments on commit 942604d

Please sign in to comment.