1. JS is a Californian in its early 20's
2. JS is awesome at Math
3. JS is a dog person
Seriously, it’s programmed to prefer dogs:
Turns our there’s an explanation for this: JS isn’t saying that dogs are greater than cats, it’s just observing the alphabetical order of the first letters of the words and assigning a corresponding value. “C” for “cat” comes before “D” for “dog”, and therefore holds a lesser value.
4. JS is really sensitive (…case sensitive, that is.)
4. JS’s thought process can get pretty philosophical
There’s also the value of “null”, which one would assume means “nothing.” However, when you look up the value type, null is actually an object. “Null” represent an object who’s value is not know. Null is an object, and it’s value is “null.”
On top of NaN and null, there’s also the property of “undefined.” Undefined’s type is, well, “undefined.” A variable that has not been assigned a value is undefined.