How to Test If a Value is a Real Value in JavaScript

Whenever you want to see if a value is actually real instead of just undefined or null, you can use undefined or null to compare it. You can use either the equal to operator (==) and the not equal to operator (!=) for the test. So thanks to JavaScript’s automatic conversions work like this: or … Read more

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