fix typo in 1-js/05-data-types/03-string

This commit is contained in:
Z Yin 2021-06-13 18:51:33 -04:00 committed by GitHub
parent 614e29e99a
commit a171b0a24f
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). 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. - 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] ### Correct comparisons [#correct-comparisons]