Skip to content

Commit

Permalink
📚 docs: Fix some function signatures.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 5, 2021
1 parent 8e75961 commit da13ce6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/enumerate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import _zip2 from './_zip2.js';
* list( enumerate( 'abc' , 1 ) ) ;
*
* @param {Iterable} iterable - The input iterable.
* @param {Number} [start=0] - The starting index.
* @param {number} [start=0] - The starting index.
* @returns {IterableIterator}
*/
export default function enumerate(iterable, start = 0) {
Expand Down
3 changes: 1 addition & 2 deletions src/zip.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import _zip from './_zip.js';
* list( zip( 'abcd' , range(3) ) ) ;
*
* @param {...Iterable} iterables - The iterables to zip.
* @returns {Iterator}
*
* @returns {IterableIterator}
*/
export default function zip(...iterables) {
return _zip(iterables);
Expand Down

0 comments on commit da13ce6

Please sign in to comment.