Debian Codegraph @

js/src/tests/test262/language/identifiers/part-unicode-15.1.0-class-escaped.js

raw
1 // Copyright 2024 Mathias Bynens. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Mathias Bynens
6 esid: prod-PrivateIdentifier
7 description: |
8 Test that Unicode v15.1.0 ID_Continue characters are accepted as
9 identifier part characters in escaped form, i.e.
10 - \uXXXX or \u{XXXX} for BMP symbols
11 - \u{XXXXXX} for astral symbols
12 in private class fields.
13 info: |
14 Generated by https://github.com/mathiasbynens/caniunicode
15 features: [class, class-fields-private]
16 ---*/
17
18 class _ {
19 #_\u200C\u200D\u30FB\uFF65;
20 };
21
22 reportCompare(0, 0);