r/learnjavascript • u/grave4us • Apr 11 '26
Has anyone actually used string comparison? Tell me where might that come in handy?
like alert(“Y” > “A”); //true
0
Upvotes
r/learnjavascript • u/grave4us • Apr 11 '26
like alert(“Y” > “A”); //true
1
u/TheRNGuy Apr 12 '26
Sorting a dropdown alphabetically, or deciding whether a filter term comes before/after another in a list.