mozilla/rhino

Support ES2021 WeakRef & FinalizationRegistry

Open

#943 opened on Jun 23, 2021

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (812 forks)batch import
Ecma Incompatibilityfeaturegood first issue

Repository metrics

Stars
 (3,728 stars)
PR merge metrics
 (Avg merge 6d 16h) (15 merged PRs in 30d)

Description

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

Contributor guide