mirror of
https://github.com/tc39/test262.git
synced 2025-05-03 06:20:37 +02:00
@bathos discovered that multiple engines implement this incorrectly: https://twitter.com/bhathos/status/1478370049303928832 With that in mind, it’s probably worth adding some test coverage. Test generator patch: https://github.com/mathiasbynens/caniunicode/pull/6
18 lines
682 B
JavaScript
18 lines
682 B
JavaScript
// Copyright 2022 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 v12.0.0 ID_Continue characters are accepted as
|
|
identifier part characters in private class fields.
|
|
info: |
|
|
Generated by https://github.com/mathiasbynens/caniunicode
|
|
features: [class, class-fields-private]
|
|
---*/
|
|
|
|
class _ {
|
|
#_຺𑧑𑧒𑧓𑧔𑧕𑧖𑧗𑧚𑧛𑧜𑧝𑧞𑧟𑧠𑧤𖽏𖽿𖾀𖾁𖾂𖾃𖾄𖾅𖾆𖾇𞄰𞄱𞄲𞄳𞄴𞄵𞄶𞅀𞅁𞅂𞅃𞅄𞅅𞅆𞅇𞅈𞅉𞋬𞋭𞋮𞋯𞋰𞋱𞋲𞋳𞋴𞋵𞋶𞋷𞋸𞋹;
|
|
};
|