Merge pull request #2630 from ZYinMD/patch-10

fix typo in 1-js/05-data-types/03-string
This commit is contained in:
Ilya Kantor 2021-06-14 01:53:44 +03:00 committed by GitHub
commit e527c612c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -526,7 +526,7 @@ Now it becomes obvious why `a > Z`.
The characters are compared by their numeric code. The greater code means that the character is greater. The code for `a` (97) is greater than the code for `Z` (90).
- All lowercase letters go after uppercase letters because their codes are greater.
- Some letters like `Ö` stand apart from the main alphabet. Here, it's code is greater than anything from `a` to `z`.
- Some letters like `Ö` stand apart from the main alphabet. Here, its code is greater than anything from `a` to `z`.
### Correct comparisons [#correct-comparisons]