Debian Codegraph @

js/src/tests/test262/language/identifiers/part-zwj-zwnj-escaped.js

raw
1 // Copyright (C) 2020 Adam Kluball. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Adam Kluball
6 esid: sec-names-and-keywords
7 description: zero width joiner and zero width non-joiner are valid identifier parts
8 ---*/
9
10 var $ = 1;
11 var $\u200D = 2;
12 var $\u200C = 3;
13
14 assert.sameValue($, 1);
15 assert.sameValue($\u200D, 2);
16 assert.sameValue($\u200C, 3);
17
18 reportCompare(0, 0);