tc39 / proposal-mass-proxy-revocation

Proposal for revoking proxies en masse.
MIT License
5 stars 1 forks source link

Should new Proxy get a third argument as well? #6

Closed ajvincent closed 2 years ago

ajvincent commented 2 years ago

I think the answer should be yes. When that third argument is available but missing, the default behavior doesn't change. Since new Proxy doesn't have more than two arguments right now, we should reasonably expect people aren't using a third argument...

Ultimately, I think it's safe to add revocation by the third argument's signal property.