blob: 13d845f54396700db3b9e7e0855e2c556557a0c7 [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-22
description: >
Object.getPrototypeOf returns the [[Prototype]] of its parameter
(String object)
---*/
var obj = new String("abc");
assert.sameValue(Object.getPrototypeOf(obj), String.prototype, 'Object.getPrototypeOf(obj)');