summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/toString/no-prototype-property.js
blob: e2a81a97577c9ef4b26ec96d3725fd7ce0d04514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: sec-object.prototype.tostring
description: Object.prototype.toString has no prototype property
---*/

assert.sameValue(
  Object.prototype.toString.hasOwnProperty("prototype"),
  false,
  "Object.prototype.toString.hasOwnProperty(\"prototype\") returns false"
);

reportCompare(0, 0);