2 File Name: expression-007.js
3 Corresponds To: 11.2.2-2-n.js
4 ECMA Section: 11.2.2. The new operator
8 Author: christine@netscape.com
11 var SECTION = "expression-007";
12 var VERSION = "JS1_4";
13 var TITLE = "The new operator";
16 writeHeaderToLog( SECTION + " "+ TITLE);
19 var testcases = new Array();
21 var result = "Failed";
22 var exception = "No exception thrown";
23 var expect = "Passed";
27 result = new UNDEFINED();
30 exception = e.toString();
33 testcases[tc++] = new TestCase(
35 "UNDEFINED = void 0; result = new UNDEFINED()" +
36 " (threw " + exception +")",