3 Corresponds To: ecma/GlobalObject/15.1-1-n.js
4 ECMA Section: The global object
7 The global object does not have a [[Construct]] property; it is not
8 possible to use the global object as a constructor with the new operator.
11 Author: christine@netscape.com
12 Date: 12 november 1997
14 var SECTION = "global-001";
15 var VERSION = "ECMA_1";
16 var TITLE = "The Global Object";
19 writeHeaderToLog( SECTION + " "+ TITLE);
22 var testcases = new Array();
25 var result = "Failed";
26 var exception = "No exception thrown";
27 var expect = "Passed";
33 exception = e.toString();
36 testcases[tc++] = new TestCase(
38 "result = new this()" +
39 " (threw " + exception +")",