mozilla/rhino

Support ES2021 WeakRef & FinalizationRegistry

Open

#943 aperta il 23 giu 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (812 fork)batch import
Ecma Incompatibilityfeaturegood first issue

Metriche repository

Star
 (3728 star)
Metriche merge PR
 (Merge medio 6g 16h) (15 PR mergiate in 30 g)

Descrizione

WeakRef, for referring to a target object without preserving it from garbage collection FinalizationRegistry, to manage registration and unregistration of cleanup operations performed when target objects are garbage collected

Proposal: https://github.com/tc39/proposal-weakrefs MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef

Guida contributor