Question: how to check if an object has a property or not?
Answer: Compare with typeof and undefined ., Use hasOwnProperty method., Use in keyword.