Skip to content

Commit 8f72917

Browse files
authored
Chinese
1 parent 6bbe0b4 commit 8f72917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/05-data-types/03-string/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Examples with unicode:
8686

8787
```js run
8888
alert( "\u00A9" ); // ©
89-
alert( "\u{20331}" ); // 佫, a rare chinese hieroglyph (long unicode)
89+
alert( "\u{20331}" ); // 佫, a rare Chinese hieroglyph (long unicode)
9090
alert( "\u{1F60D}" ); // 😍, a smiling face symbol (another long unicode)
9191
```
9292

@@ -567,7 +567,7 @@ The length of such symbols is `2`:
567567
```js run
568568
alert( '𝒳'.length ); // 2, MATHEMATICAL SCRIPT CAPITAL X
569569
alert( '😂'.length ); // 2, FACE WITH TEARS OF JOY
570-
alert( '𩷶'.length ); // 2, a rare chinese hieroglyph
570+
alert( '𩷶'.length ); // 2, a rare Chinese hieroglyph
571571
```
572572

573573
Note that surrogate pairs did not exist at the time when JavaScript was created, and thus are not correctly processed by the language!

0 commit comments

Comments
 (0)