implement hasownproperty code example
Example: hasOwnProperty.call js
var foo = {
hasOwnProperty: function() {
return false;
},
bar: 'I belong to foo'
};
var foo = {
hasOwnProperty: function() {
return false;
},
bar: 'I belong to foo'
};