Updated node_mobules from what huskey wants to do

This commit is contained in:
Timothy Clem
2019-09-30 10:02:47 -07:00
parent a7a93607c6
commit caa2e9e5b6
7412 changed files with 26 additions and 1868293 deletions

View File

@@ -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;