-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.
Description
Is your feature request related to a problem? Please describe.
Working with the new Blob api. Cannot instantiate using a string though I don't see why not.
new Blob('nodejs')
// -> The "sources" argument must be an instance of Iterable. Received type string ('nodejs')
Describe the solution you'd like
Maybe I'm misunderstanding, but I think strings to implement [Symbol.iterator]; does that not make it an instance of Iterable?
Describe alternatives you've considered
Plenty of work arounds - think this would make for a good addition.
Happy to contribute this feature too
Metadata
Metadata
Assignees
Labels
bufferIssues and PRs related to the buffer subsystem.Issues and PRs related to the buffer subsystem.errorsIssues and PRs related to JavaScript errors originated in Node.js core.Issues and PRs related to JavaScript errors originated in Node.js core.