blob: e94c16a55e36aebbc958896eb2e9fc43ba399899 [file] [log] [blame]
// 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: >
Returns the internal [[Prototype]] object.
info: |
26.1.8 Reflect.getPrototypeOf ( target )
...
2. Return target.[[GetPrototypeOf]]().
features: [Reflect]
---*/
var o = {};
assert.sameValue(
Reflect.getPrototypeOf(o), Object.prototype,
'return default prototypes'
);