4.4 Working With Object Instances
All object instances inherit properties and methods from the prototype of their constructor. We can use these different methods and properties to perform general tasks, such as determining whether a property is defined on an object directly or inherited from the prototype, using the
hasOwnProperty method. We cover this method and others like it in this lesson.