summaryrefslogtreecommitdiff
path: root/node_modules/has/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/has/src/index.js')
-rw-r--r--node_modules/has/src/index.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/has/src/index.js b/node_modules/has/src/index.js
new file mode 100644
index 00000000..688714ce
--- /dev/null
+++ b/node_modules/has/src/index.js
@@ -0,0 +1,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);
+};