Open
Description
V8 team's preference is to remove the need for an additional bit for the "no private stamping" behavior, and instead to change non-extensible to imply it. We think this is most natural and aligns best with programmer intuition.
The big question is whether this change is backwards compatible. To that end we've added the use counter V8ExtendingNonExtensibleWithPrivate
to see if anyone is actually adding private fields to non-extensible objects today. This is scheduled to hit Chrome stable builds by the end of January, so we won't see truly representative numbers until next year.
In the December 2024 TC39, other delegates and champions were positive on the idea of this change if it's compatible to make.
Metadata
Metadata
Assignees
Labels
No labels