From aa773172311dcada759dfbaac485f4bc6e00bc21 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sat, 14 Oct 2023 15:31:11 +0800 Subject: added babel --- node_modules/has/src/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 node_modules/has/src/index.js (limited to 'node_modules/has/src') 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); +}; -- cgit v1.2.3