some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / lodash / _iteratorToArray.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/lodash/_iteratorToArray.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/lodash/_iteratorToArray.js
deleted file mode 100644 (file)
index 4768566..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * Converts `iterator` to an array.
- *
- * @private
- * @param {Object} iterator The iterator to convert.
- * @returns {Array} Returns the converted array.
- */
-function iteratorToArray(iterator) {
-  var data,
-      result = [];
-
-  while (!(data = iterator.next()).done) {
-    result.push(data.value);
-  }
-  return result;
-}
-
-module.exports = iteratorToArray;