From 81024abeafe6f3a0d2b53b21caf795a1e9f07229 Mon Sep 17 00:00:00 2001 From: Mikhail Alabugin <137305666+1t1sCooL@users.noreply.github.com> Date: Thu, 2 Jul 2026 20:57:17 +0300 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20'1=20to=206=20bytes'=20to=20'1=20to?= =?UTF-8?q?=206=20hex=20digits'=20in=20\u{=E2=80=A6}=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-js/99-js-misc/06-unicode/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/99-js-misc/06-unicode/article.md b/1-js/99-js-misc/06-unicode/article.md index 4f144f8241..f95887dd70 100644 --- a/1-js/99-js-misc/06-unicode/article.md +++ b/1-js/99-js-misc/06-unicode/article.md @@ -35,7 +35,7 @@ JavaScript allows us to insert a character into a string by specifying its hexad - `\u{X…XXXXXX}` - `X…XXXXXX` must be a hexadecimal value of 1 to 6 bytes between `0` and `10FFFF` (the highest code point defined by Unicode). This notation allows us to easily represent all existing Unicode characters. + `X…XXXXXX` must be a hexadecimal value of 1 to 6 hex digits between `0` and `10FFFF` (the highest code point defined by Unicode). This notation allows us to easily represent all existing Unicode characters. ```js run alert( "\u{20331}" ); // 佫, a rare Chinese character (long Unicode) From 17ba8addf7336be683562bfd27b305f0b83cfafd Mon Sep 17 00:00:00 2001 From: Mikhail Alabugin <137305666+1t1sCooL@users.noreply.github.com> Date: Tue, 11 Aug 2026 11:39:10 +0300 Subject: [PATCH 2/2] Drop the digit-count limit: leading zeroes are allowed --- 1-js/99-js-misc/06-unicode/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/99-js-misc/06-unicode/article.md b/1-js/99-js-misc/06-unicode/article.md index f95887dd70..406c11cbff 100644 --- a/1-js/99-js-misc/06-unicode/article.md +++ b/1-js/99-js-misc/06-unicode/article.md @@ -35,7 +35,7 @@ JavaScript allows us to insert a character into a string by specifying its hexad - `\u{X…XXXXXX}` - `X…XXXXXX` must be a hexadecimal value of 1 to 6 hex digits between `0` and `10FFFF` (the highest code point defined by Unicode). This notation allows us to easily represent all existing Unicode characters. + `X…XXXXXX` must be a hexadecimal value between `0` and `10FFFF` (the highest code point defined by Unicode). This notation allows us to easily represent all existing Unicode characters. ```js run alert( "\u{20331}" ); // 佫, a rare Chinese character (long Unicode)