blob: 3ef083881633871aca33488c3924f8d214e102b0 [file] [log] [blame]
// 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-30
description: >
Object.getPrototypeOf returns the [[Prototype]] of its parameter
(the global object)
---*/
var proto = Object.getPrototypeOf(this);
assert.sameValue(proto.isPrototypeOf(this), true, 'proto.isPrototypeOf(this)');