Skip to content

Fix "1 to 6 bytes" to "1 to 6 hex digits" in \u{X…XXXXXX} description#3975

Open
1t1sCooL wants to merge 1 commit into
javascript-tutorial:masterfrom
1t1sCooL:fix-unicode-hex-digits
Open

Fix "1 to 6 bytes" to "1 to 6 hex digits" in \u{X…XXXXXX} description#3975
1t1sCooL wants to merge 1 commit into
javascript-tutorial:masterfrom
1t1sCooL:fix-unicode-hex-digits

Conversation

@1t1sCooL

@1t1sCooL 1t1sCooL commented Jul 2, 2026

Copy link
Copy Markdown

The \u{X…XXXXXX} escape takes 1 to 6 hexadecimal digits, not bytes: the maximum code point 10FFFF is 6 hex digits, which is 3 bytes.

Spotted via the Russian translation (javascript-tutorial/ru.javascript.info#2124), where the same wording was faithfully translated along with the mistake.

@javascript-translate-bot javascript-translate-bot added review needed Review needed, please approve or request changes labels Jul 2, 2026
@javascript-translate-bot javascript-translate-bot requested review from a team July 2, 2026 17:57
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review needed Review needed, please approve or request changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants