mozilla/rhino

Support ES2021 WeakRef & FinalizationRegistry

Open

#943 aberto em 23 de jun. de 2021

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

Métricas do repositório

Stars
 (3.728 stars)
Métricas de merge de PR
 (Mesclagem média 6d 16h) (15 fundiu PRs em 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

Guia do colaborador