|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
|
2 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
3 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
5 |
|
6 |
|
7 /** |
|
8 File Name: 15.9.5.1.js |
|
9 ECMA Section: 15.9.5.1 Date.prototype.constructor |
|
10 Description: |
|
11 The initial value of Date.prototype.constructor is the built-in Date |
|
12 constructor. |
|
13 |
|
14 Author: christine@netscape.com |
|
15 Date: 12 november 1997 |
|
16 */ |
|
17 |
|
18 var SECTION = "15.9.5.1"; |
|
19 var VERSION = "ECMA_1"; |
|
20 startTest(); |
|
21 var TITLE = "Date.prototype.constructor"; |
|
22 |
|
23 writeHeaderToLog( SECTION + " "+ TITLE); |
|
24 |
|
25 new TestCase( SECTION, |
|
26 "Date.prototype.constructor == Date", |
|
27 true, |
|
28 Date.prototype.constructor == Date ); |
|
29 test(); |