blob: 1f2536d2af23ba42cd9f24e10ba472882a03a431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 26.1.8
description: >
Return null prototype.
info: |
26.1.8 Reflect.getPrototypeOf ( target )
...
2. Return target.[[GetPrototypeOf]]().
features: [Reflect]
---*/
var o = Object.create(null);
assert.sameValue(Reflect.getPrototypeOf(o), null);
reportCompare(0, 0);
|