Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/S15.7.3_A7.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 Number
7 constructor is the Function prototype object
8 es5id: 15.7.3_A7
9 description: Checking Function.prototype.isPrototypeOf(Number)
10 ---*/
11
12 //CHECK#1
13 if (!(Function.prototype.isPrototypeOf(Number))) {
14 $ERROR('#1: the value of the internal [[Prototype]] property of the Number constructor is the Function prototype object.');
15 }