blob: bff25349a77dbb1e4be62f6dc3eb138da3f17644 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// 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)');
reportCompare(0, 0);
|