Skip to content

Commit 181cc78

Browse files
committed
minor fixes
1 parent ecfd113 commit 181cc78

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

1-js/02-first-steps/09-comparison/article.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ The algorithm to compare two strings is simple:
5757
4. Repeat until the end of either string.
5858
5. If both strings end at the same length, then they are equal. Otherwise, the longer string is greater.
5959

60-
In the examples above, the comparison `'Z' > 'A'` gets to a result at the first step while the strings `'Glow'` and `'Glee'` are compared character-by-character:
60+
In the first example above, the comparison `'Z' > 'A'` gets to a result at the first step.
61+
62+
The second comparison `'Glow'` and `'Glee'` needs more steps as strings are compared character-by-character:
6163

6264
1. `G` is the same as `G`.
6365
2. `l` is the same as `l`.

0 commit comments

Comments
 (0)