Prompt
Write isOwnProp(obj, prop) that checks whether a property is an object's OWN property
(vs inherited). It must survive two hostile inputs: an object that shadows hasOwnProperty
with its own lying version, and an object created with Object.create(null).
Hints
Solution
Your Code
5 min