Source code
Revision control
Copy as Markdown
Other Tools
// 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: |
features: [class, class-fields-private]
---*/
class _ {
#_\u200C\u200D\u30FB\uFF65;
};
reportCompare(0, 0);