mozilla/rhino

Support ES2021 WeakRef & FinalizationRegistry

Open

#943 ouverte le 23 juin 2021

Voir sur GitHub
 (2 commentaires) (0 réactions) (0 assignés)JavaScript (812 forks)batch import
Ecma Incompatibilityfeaturegood first issue

Métriques du dépôt

Stars
 (3 728 stars)
Métriques de merge PR
 (Merge moyen 6j 16h) (15 PRs mergées en 30 j)

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

Guide contributeur