You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/02-first-steps/09-comparison/article.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,9 @@ The algorithm to compare two strings is simple:
57
57
4. Repeat until the end of either string.
58
58
5. If both strings end at the same length, then they are equal. Otherwise, the longer string is greater.
59
59
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:
0 commit comments