Debian Codegraph @

js/src/tests/test262/language/identifiers/part-digits.js

raw
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 info: Correct interpretation of DIGITS
6 es6id: 11.6
7 description: Identifier is $+ANY_DIGIT
8 ---*/
9
10 var $0 = 0;
11 assert.sameValue($0, 0);
12
13 var $1 = 1;
14 assert.sameValue($1, 1);
15
16 var $2 = 2;
17 assert.sameValue($2, 2);
18
19 var $3 = 3;
20 assert.sameValue($3, 3);
21
22 var $4 = 4;
23 assert.sameValue($4, 4);
24
25 var $5 = 5;
26 assert.sameValue($5, 5);
27
28 var $6 = 6;
29 assert.sameValue($6, 6);
30
31 var $7 = 7;
32 assert.sameValue($7, 7);
33
34 var $8 = 8;
35 assert.sameValue($8, 8);
36
37 var $9 = 9;
38 assert.sameValue($9, 9);
39
40 reportCompare(0, 0);