]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/mozilla/ecma_2/Exceptions/lexical-041.js
2 File Name: lexical-041.js
3 Corresponds To: 7.5-8-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-041";
14 var VERSION
= "ECMA_1";
15 var TITLE
= "Identifiers";
18 writeHeaderToLog( SECTION
+ " "+ TITLE
);
20 writeHeaderToLog( SECTION
+ " "+ TITLE
);
23 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(
39 " (threw " + exception
+")",