mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Remove semicolons.
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
* @returns {Array} Returns the converted array.
|
||||
*/
|
||||
function iteratorToArray(iterator) {
|
||||
let data;
|
||||
const result = [];
|
||||
let data
|
||||
const result = []
|
||||
|
||||
while (!(data = iterator.next()).done) {
|
||||
result.push(data.value);
|
||||
result.push(data.value)
|
||||
}
|
||||
return result;
|
||||
return result
|
||||
}
|
||||
|
||||
export default iteratorToArray;
|
||||
export default iteratorToArray
|
||||
|
||||
Reference in New Issue
Block a user