hasOwn = Object.prototype.hasOwnProperty.call; o = {a:1}; hasOwn(o, 'a'); //TypeError: object is not a function