diff options
Diffstat (limited to 'school/node_modules/lodash/_iteratorToArray.js')
-rw-r--r-- | school/node_modules/lodash/_iteratorToArray.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/school/node_modules/lodash/_iteratorToArray.js b/school/node_modules/lodash/_iteratorToArray.js deleted file mode 100644 index 4768566..0000000 --- a/school/node_modules/lodash/_iteratorToArray.js +++ /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; |