summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/getPrototypeOf/15.2.3.2-2-19.js
blob: 158a99b77b4c1120904ddbad87696b4355eb908b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.2.3.2-2-19
description: >
    Object.getPrototypeOf returns the [[Prototype]] of its parameter
    (Object object)
---*/

var obj = {};

assert.sameValue(Object.getPrototypeOf(obj), Object.prototype, 'Object.getPrototypeOf(obj)');