aboutsummaryrefslogtreecommitdiff
path: root/node_modules/core-js/internals/get-iterator.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/core-js/internals/get-iterator.js')
-rw-r--r--node_modules/core-js/internals/get-iterator.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/node_modules/core-js/internals/get-iterator.js b/node_modules/core-js/internals/get-iterator.js
deleted file mode 100644
index f7f7f8e..0000000
--- a/node_modules/core-js/internals/get-iterator.js
+++ /dev/null
@@ -1,9 +0,0 @@
-var anObject = require('../internals/an-object');
-var getIteratorMethod = require('../internals/get-iterator-method');
-
-module.exports = function (it) {
- var iteratorMethod = getIteratorMethod(it);
- if (typeof iteratorMethod != 'function') {
- throw TypeError(String(it) + ' is not iterable');
- } return anObject(iteratorMethod.call(it));
-};