The document discusses JavaScript equality comparisons. It explains that === checks for both value and type equality while == performs type coercion before comparing values. Examples are provided to demonstrate the different behaviors of === and == when comparing primitives like numbers and strings versus objects.
I think the key to JavaScript is really understanding what’s going on in memory. And the key to understanding what’s going on in memory is understanding
what JS’s basic data types look like in memory and how JS’s operators are used to manipulate those data structures.
Here I’ve created an object with an age property of 30. I create a variable to hold that person’s age and update it to 31, but
if I read me.age, I get back 30 .. why?