This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Check if a property belongs directly to an object (not inherited) with hasOwnProperty().
You've completed the free preview. Subscribe to unlock every lesson in every course.