Debian Codegraph @

rhino/testsrc/tests/ecma/extensions/15.3.3.1-1.js

raw symbols SCIP
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.3.3.1-1.js';
7
8 /**
9 File Name: 15.3.3.1-1.js
10 ECMA Section: 15.3.3.1 Properties of the Function Constructor
11 Function.prototype
12
13 Description: The initial value of Function.prototype is the built-in
14 Function prototype object.
15
16 This property shall have the attributes [DontEnum |
17 DontDelete | ReadOnly]
18
19 This test the value of Function.prototype.
20
21 Author: [email protected]
22 Date: 28 october 1997
23
24 */
25 var SECTION = "15.3.3.1-1";
26 var VERSION = "ECMA_2";
27 startTest();
28 var TITLE = "Function.prototype";
29
30 writeHeaderToLog( SECTION + " "+ TITLE);
31
32 new TestCase( SECTION, "Function.prototype == Function.__proto__", true, Function.__proto__ == Function.prototype );
33
34 test();