summaryrefslogtreecommitdiffstats
path: root/node_modules/es-abstract/helpers/callBound.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/helpers/callBound.js')
-rw-r--r--node_modules/es-abstract/helpers/callBound.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/es-abstract/helpers/callBound.js b/node_modules/es-abstract/helpers/callBound.js
deleted file mode 100644
index 9dc8fc5..0000000
--- a/node_modules/es-abstract/helpers/callBound.js
+++ /dev/null
@@ -1,15 +0,0 @@
-'use strict';
-
-var GetIntrinsic = require('../GetIntrinsic');
-
-var callBind = require('./callBind');
-
-var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
-
-module.exports = function callBoundIntrinsic(name, allowMissing) {
- var intrinsic = GetIntrinsic(name, !!allowMissing);
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
- return callBind(intrinsic);
- }
- return intrinsic;
-};