-
Notifications
You must be signed in to change notification settings - Fork 34
toArray and Array.fromAsync #156
Comments
We should have both. |
@js-choi We had discussed
|
(simpler logs link: https://matrixlogs.bakkot.com/TC39_Delegates/2021-08-31#L558-L561) |
I think |
Spinning this off tc39/proposal-array-from-async#3.
This proposal’s
toArray
method overlaps with another proposal that recently reached Stage 1,Array.fromAsync
.toArray
already overlaps withArray.from
too.My preference is to keep both
toArray
andArray.fromAsync
(Array.from
being a fait accompli). I think they do somewhat different things. And I remember @michaelficarra saying that he had a vision of eventually extendingtoArray
to handle coercion to other data types.#155 is slightly related to this.
CC: @bathos, @codehag
The text was updated successfully, but these errors were encountered: