An ordinary object has no property named score. What does reading object.score produce?
Explanation
A normal read of a missing property completes and produces undefined. A present property holding undefined can produce the same result, while a TypeError would require a different situation such as reading through null.