Debian Codegraph @

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