-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\r
-/**\r
- File Name: expression-007.js\r
- Corresponds To: 11.2.2-2-n.js\r
- ECMA Section: 11.2.2. The new operator\r
- Description:\r
-\r
-\r
- Author: christine@netscape.com\r
- Date: 12 november 1997\r
-*/\r
-var SECTION = "expression-007";\r
-var VERSION = "JS1_4";\r
-var TITLE = "The new operator";\r
-\r
-startTest();\r
-writeHeaderToLog( SECTION + " "+ TITLE);\r
-\r
-var result = "Failed";\r
-var exception = "No exception thrown";\r
-var expect = "Passed";\r
-\r
-try {\r
- UNDEFINED = void 0;\r
- result = new UNDEFINED();\r
-} catch ( e ) {\r
- result = expect;\r
- exception = e.toString();\r
-}\r
-\r
-new TestCase(\r
- SECTION,\r
- "UNDEFINED = void 0; result = new UNDEFINED()" +\r
- " (threw " + exception +")",\r
- expect,\r
- result );\r
-\r
-test();\r
-\r
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/**
+ File Name: expression-007.js
+ Corresponds To: 11.2.2-2-n.js
+ ECMA Section: 11.2.2. The new operator
+ Description:
+
+
+ Author: christine@netscape.com
+ Date: 12 november 1997
+*/
+var SECTION = "expression-007";
+var VERSION = "JS1_4";
+var TITLE = "The new operator";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var result = "Failed";
+var exception = "No exception thrown";
+var expect = "Passed";
+
+try {
+ UNDEFINED = void 0;
+ result = new UNDEFINED();
+} catch ( e ) {
+ result = expect;
+ exception = e.toString();
+}
+
+new TestCase(
+ SECTION,
+ "UNDEFINED = void 0; result = new UNDEFINED()" +
+ " (threw " + exception +")",
+ expect,
+ result );
+
+test();
+