Debian Codegraph @

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