Skip to content

Commit c0c8fdc

Browse files
committed
Add zipAll to CollectionImpl
1 parent faa2261 commit c0c8fdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/CollectionImpl.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,11 @@ mixin(IndexedCollection, {
700700
return reify(this, zipWithFactory(this, defaultZipper, collections));
701701
},
702702

703+
zipAll(/*, ...collections */) {
704+
const collections = [this].concat(arrCopy(arguments));
705+
return reify(this, zipWithFactory(this, defaultZipper, collections, true));
706+
},
707+
703708
zipWith(zipper /*, ...collections */) {
704709
const collections = arrCopy(arguments);
705710
collections[0] = this;

0 commit comments

Comments
 (0)