summaryrefslogtreecommitdiff
path: root/test/built-ins/Object/prototype/toString/S15.2.4.2_A6.js
blob: 6c8e0d7ad1ccd269c00667722b68a071e941ea50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Object.prototype.toString has not prototype property
es5id: 15.2.4.2_A6
description: >
    Checking if obtaining the prototype property of
    Object.prototype.toString fails
---*/

//CHECK#1
if (Object.prototype.toString.prototype !== undefined) {
  $ERROR('#1: Object.prototype.toString has not prototype property' + Object.prototype.toString.prototype);
}
//