2 File Name: expression-005.js
3 Corresponds To: 11.2.2-10-n.js
4 ECMA Section: 11.2.2. The new operator
7 Author: christine@netscape.com
11 var SECTION = "expression-005";
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 expect = "Passed";
23 var exception = "No exception thrown";
29 exception = e.toString();
32 testcases[tc++] = new TestCase(
34 "result= new Math() (threw " + exception + ")",