summaryrefslogtreecommitdiffstats
path: root/node_modules/es-abstract/helpers/getInferredName.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/helpers/getInferredName.js')
-rw-r--r--node_modules/es-abstract/helpers/getInferredName.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/node_modules/es-abstract/helpers/getInferredName.js b/node_modules/es-abstract/helpers/getInferredName.js
deleted file mode 100644
index 2dab6e7..0000000
--- a/node_modules/es-abstract/helpers/getInferredName.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-
-var getInferredName;
-try {
- // eslint-disable-next-line no-new-func
- getInferredName = Function('s', 'return { [s]() {} }[s].name;');
-} catch (e) {}
-
-var inferred = function () {};
-module.exports = getInferredName && inferred.name === 'inferred' ? getInferredName : null;