| 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.5.3.js'; |
| 7 | |
| 8 | /** |
| 9 | File Name: 15.5.3.1.js |
| 10 | ECMA Section: 15.5.3 Properties of the String Constructor |
| 11 | |
| 12 | Description: The value of the internal [[Prototype]] property of |
| 13 | the String constructor is the Function prototype |
| 14 | object. |
| 15 | |
| 16 | In addition to the internal [[Call]] and [[Construct]] |
| 17 | properties, the String constructor also has the length |
| 18 | property, as well as properties described in 15.5.3.1 |
| 19 | and 15.5.3.2. |
| 20 | |
| 21 | Author: [email protected] |
| 22 | Date: 1 october 1997 |
| 23 | */ |
| 24 | |
| 25 | var SECTION = "15.5.3"; |
| 26 | var VERSION = "ECMA_2"; |
| 27 | startTest(); |
| 28 | var passed = true; |
| 29 | writeHeaderToLog( SECTION + " Properties of the String Constructor" ); |
| 30 | |
| 31 | new TestCase( SECTION, "String.length", 1, String.length ); |
| 32 | |
| 33 | test(); |