Debian Codegraph @

js/src/tests/test262/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 description: Checking prototype of the Boolean constructor
10 ---*/
11 assert(
12 Function.prototype.isPrototypeOf(Boolean),
13 'Function.prototype.isPrototypeOf(Boolean) must return true'
14 );
15
16 reportCompare(0, 0);