mozilla/rhino

Support ES2021 WeakRef & FinalizationRegistry

Ouverte

#943 ouverte le 23 juin 2021

 (2 commentaires) (0 réaction) (0 personne assignée)JavaScript (812 forks)batch import
Ecma Incompatibilityfeaturegood first issue

Métriques du dépôt

Stars
 (3 728 étoiles)
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