1var hasOwn = Object.prototype.hasOwnProperty; 2 3 4module.exports = function has(obj, property) { 5 return hasOwn.call(obj, property); 6}; 7 8