summaryrefslogtreecommitdiff
path: root/node_modules/has/src/index.js
blob: 688714ce974d5845c37c65f3a796264dd8b9cf1b (plain)
1
2
3
4
5
6
7
8
'use strict';

var hasOwnProperty = {}.hasOwnProperty;
var call = Function.prototype.call;

module.exports = call.bind ? call.bind(hasOwnProperty) : function (O, P) {
  return call.call(hasOwnProperty, O, P);
};