Debian Codegraph @

js/src/tests/test262/language/identifiers/start-unicode-ltr.js

raw
1 // Copyright 2009 the Sputnik authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: "IdentifierPart :: IdentifierStart"
6 es5id: 7.6_A2.1_T1
7 description: "IdentifierStart :: UnicodeLetter"
8 ---*/
9
10 var x = 1;
11 assert.sameValue(x, 1);
12
13 var xx = 2;
14 assert.sameValue(xx, 2);
15
16 var x$ = 3;
17 assert.sameValue(x$, 3);
18
19 var x_ = 4;
20 assert.sameValue(x_, 4);
21
22 reportCompare(0, 0);