jashkenas / jashkenas/underscore

iterator support for _.toArray

Open
#2,448 5 comments 0 reactions 0 assignees View on GitHub
breaking change
Dominant language
JavaScript
Stars
27.3k
Forks
5.4k
Avg merge
2d 5h
Merged PRs (30d)
1

Description

I think support for converting iterators to arrays would be a nice to have for `_.toArray`.

Contributor guide

Open the contributing guide

Research direction

Start with the existing _.toArray entry point and review linked pull request #2894 to understand the prior approach to iterator support. Confirm the expected behavior for converting iterators to arrays and check whether the repository includes relevant tests; done means supported iterators produce the expected array result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.