SO Question - hasOwnProperty
http://stackoverflow.com/q/17887105/143739
JavaScript
Object.prototype.hasOwnProperty = function() {
alert("No, you're ugly."+ this);
}
console.log({}.hasOwnProperty('foo'));
Object.prototype.hasOwnProperty = function() {
alert("No, you're ugly."+ this);
}
console.log({}.hasOwnProperty('foo'));