How to Compare With Greater Than, Less Than, Equal To, and Not Equal To Operators in JavaScript (Easy!)
I’ve stated this before, and I’ll say it again. Uppercase letters are less than lowercase letters. JavaScript reads from left to right. The size of the letters gets bigger from “a” to “z.” But here’s something interesting. It turns out that capitalization takes precedence over the actual order of the alphabet! So if you’re comparing … Read more