blob: 1d9d689c480beb7663565dc8d37fdbcc71c65b87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 14.5
description: >
class implicit constructor
---*/
class C {}
var c = new C();
assert.sameValue(
Object.getPrototypeOf(c),
C.prototype,
"`Object.getPrototypeOf(c)` returns `C.prototype`"
);
reportCompare(0, 0);
|