Skip to content

Uint8Array.from / new Uint8Array does not work on iterables #1881

@ChALkeR

Description

@ChALkeR

Instead, it silently returns an empty uint8arr

>> Array.from(new Set([1,2,3]))
[ 1, 2, 3, [length]: 3 ]
>> Uint8Array.from(new Set([1,2,3]))
Uint8Array [  ]
>> new Uint8Array(new Set([1,2,3]))
Uint8Array [  ]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions