Skip to content

Commit 27a6d60

Browse files
authored
Merge pull request #1098 from aruseni/patch-1
Chinese
2 parents 5a8f3cc + 8f72917 commit 27a6d60

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

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

577577
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)