JavaScript Strings Comparison
String Comparison
To check whether a string is greater than another, dictionary or lexicographical ordering is used.
Lexicographical ordering is when strings are compared letter-by-letter.
See the example below:
console.log( 'Z' > 'A' ); // true
co...
blog.techstackspace.com2 min read
Laszlo Tatai
I am a pogramer / coder / sceener,
Thank U Brotha!