blob: 96d04b782626302dcc95e971fa6c9788af2b27b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// 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.1_A1;
* @section: 15.6.4.1;
* @assertion: The initial value of Boolean.prototype.constructor is the
* built-in Boolean constructor;
* @description: Compare Boolean.prototype.constructor with Boolean;
*/
// Converted for Test262 from original Sputnik source
ES5Harness.registerTest( {
id: "S15.6.4.1_A1",
path: "TestCases/15_Native/15.6_Boolean_Objects/15.6.4_Properties_of_the_Boolean_Prototype_Object/S15.6.4.1_A1.js",
assertion: "The initial value of Boolean.prototype.constructor is the",
description: "Compare Boolean.prototype.constructor with Boolean",
test: function testcase() {
//CHECK#1
if(Boolean.prototype.constructor !== Boolean){
$ERROR('#1: Boolean.prototype.constructor === Boolean');
}
}
});
|