]>
git.saurik.com Git - apple/javascriptcore.git/blob - tests/mozilla/ecma_2/Exceptions/lexical-039.js
3 Corresponds To: 7.5-2-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-039";
14 var VERSION
= "JS1_4";
15 var TITLE
= "Identifiers";
18 writeHeaderToLog( SECTION
+ " "+ TITLE
);
21 var testcases
= new Array();
23 var result
= "Failed";
24 var exception
= "No exception thrown";
25 var expect
= "Passed";
31 exception
= e
.toString();
34 testcases
[tc
++] = new TestCase(
37 " (threw " + exception
+")",