Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which collections are supported? #1

Open
littledan opened this issue Sep 22, 2019 · 1 comment
Open

Which collections are supported? #1

littledan opened this issue Sep 22, 2019 · 1 comment

Comments

@littledan
Copy link
Member

In the shim, I just see Map and Set. However, I've heard lots of calls for read-only views on TypedArrays, and I imagine ordinary Arrays could also be an interesting case. Are these included in the proposal?

@erights
Copy link
Collaborator

erights commented Sep 22, 2019

@littledan yes. All enumerable collections, i.e., all collections other than WeakMap and WeakSet. TypedArray and ArrayBuffer are definitely included. I hope to include Array and SharedArrayBuffer as well, but these have additional challenges.

Although one can describe a normal object as a collection of property name to value mappings, for purposes of this proposal, I do not consider such to be collections. For purposes of this proposal, I also do not consider strings to be collections.

The shim only has Map and Set so far only because we can't do everything first ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants