mirror of
https://github.com/tc39/test262.git
synced 2025-05-14 20:00:31 +02:00
The underscore character "_" is only accepted for the sep production [1] when the backwards-compatibility extensions [2] are enabled. However, ECMA-402 only accepts Unicode BCP 47 locale identifiers [3], meaning identifiers *without* the backwards-compatibility extensions. [1] https://unicode.org/reports/tr35/#Unicode_language_identifier [2] https://unicode.org/reports/tr35/#BCP_47_Conformance [3] https://tc39.es/ecma402/#sec-language-tags