blob: 52fd2735f74c707e25425fe3a97c41d1f0fe80d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: |
The value of the internal [[Class]] property of Object prototype object
is "Object"
es5id: 15.2.4_A2
description: >
Getting the value of the internal [[Class]] property with
Object.prototype.toString() function
---*/
var tostr = Object.prototype.toString();
assert.sameValue(tostr, "[object Object]", 'The value of tostr is expected to be "[object Object]"');
reportCompare(0, 0);
|