Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Consider alternative attachment on Object and Map #46

Closed
eemeli opened this issue Nov 11, 2022 · 3 comments
Closed

Consider alternative attachment on Object and Map #46

eemeli opened this issue Nov 11, 2022 · 3 comments

Comments

@eemeli
Copy link
Member

eemeli commented Nov 11, 2022

Given the recent webcompat issues that have been identified, has consideration been made about attaching this functionality as static methods on Object and Map instead of array instances?

This would probably conflict less with current web reality, and would match the existing practice of e.g. Array.from() and Object.fromEntries().

@jridgewell
Copy link
Member

This seems a bit similar to #36.

@SamB
Copy link

SamB commented Feb 25, 2023

PR #47 proposes something like that now.

@ljharb
Copy link
Member

ljharb commented May 18, 2023

#44 (comment)

The proposal has been demoted to stage 2, with the expectation that I will be requesting stage 3 for it in July with static methods (#47).

@ljharb ljharb closed this as completed May 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants