Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Boolean/S15.6.3_A2.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: |
6 The value of the internal [[Prototype]] property of the Boolean
7 constructor is the Function prototype object
8 esid: sec-boolean.prototype
9 es5id: 15.6.3_A2
10 description: Checking prototype of the Boolean constructor
11 ---*/
12
13 //CHECK#1
14 if (!(Function.prototype.isPrototypeOf(Boolean))) {
15 $ERROR('#1: the value of the internal [[Prototype]] property of the Boolean constructor is the Function prototype object.');
16 }