]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/mozilla/ecma_2/Exceptions/lexical-042.js
2 File Name: lexical-042.js
3 Corresponds To: 7.5-9-n.js
4 ECMA Section: 7.5 Identifiers
5 Description: Identifiers are of unlimited length
6 - can contain letters, a decimal digit, _, or $
7 - the first character cannot be a decimal digit
8 - identifiers are case sensitive
10 Author: christine@netscape.com
11 Date: 11 september 1997
13 var SECTION
= "lexical-042";
14 var VERSION
= "JS1_4";
15 var TITLE
= "Identifiers";
18 writeHeaderToLog( SECTION
+ " "+ TITLE
);
21 writeHeaderToLog( SECTION
+ " "+ TITLE
);
24 var testcases
= new Array();
26 var result
= "Failed";
27 var exception
= "No exception thrown";
28 var expect
= "Passed";
34 exception
= e
.toString();
37 testcases
[tc
++] = new TestCase(
40 " (threw " + exception
+")",