The object.x === undefined should return true if x is unknown property. In chapter Bad Parts JavaScript: The Good Parts, Crockford writes the following: If you attempt to extract a value from an object, and if the object does not have a member with that name, it returns the undefined value instead. In addition to undefined, JavaScript has a similar value called null. They are so similar that …
