test262/test/language/identifiers/part-unicode-15.1.0-class-e...

21 lines
576 B
JavaScript

// Copyright 2024 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
esid: prod-PrivateIdentifier
description: |
Test that Unicode v15.1.0 ID_Continue characters are accepted as
identifier part characters in escaped form, i.e.
- \uXXXX or \u{XXXX} for BMP symbols
- \u{XXXXXX} for astral symbols
in private class fields.
info: |
Generated by https://github.com/mathiasbynens/caniunicode
features: [class, class-fields-private]
---*/
class _ {
#_\u200C\u200D\u30FB\uFF65;
};