summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4_A2.js
blob: c3e97d6008b63d96087a3815c6efea6c1a0616db (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.

/**
 * @name: S15.6.4_A2;
 * @section: 15.6.4;
 * @assertion: The value of the internal [[Prototype]] property of the Boolean 
 * prototype object is the Object prototype object;
 * @description: Checking Object.prototype.isPrototypeOf(Boolean.prototype);
 */

//CHECK#1
if (!Object.prototype.isPrototypeOf(Boolean.prototype)) {
  $ERROR('#1: Object prototype object is the prototype of Boolean prototype object');
}