| 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 | gTestfile = '15.7.3.js'; |
| 7 | |
| 8 | /** |
| 9 | File Name: 15.7.3.js |
| 10 | 15.7.3 Properties of the Number Constructor |
| 11 | |
| 12 | Description: The value of the internal [[Prototype]] property |
| 13 | of the Number constructor is the Function prototype |
| 14 | object. The Number constructor also has the internal |
| 15 | [[Call]] and [[Construct]] properties, and the length |
| 16 | property. |
| 17 | |
| 18 | Other properties are in subsequent tests. |
| 19 | |
| 20 | Author: [email protected] |
| 21 | Date: 29 september 1997 |
| 22 | */ |
| 23 | |
| 24 | var SECTION = "15.7.3"; |
| 25 | var VERSION = "ECMA_2"; |
| 26 | startTest(); |
| 27 | var TITLE = "Properties of the Number Constructor"; |
| 28 | |
| 29 | writeHeaderToLog( SECTION + " "+ TITLE); |
| 30 | |
| 31 | new TestCase(SECTION, |
| 32 | "Number.__proto__", |
| 33 | Function.prototype, |
| 34 | Number.__proto__ ); |
| 35 | |
| 36 | test(); |