docs.rodeo

MDN Web Docs mirror

Garbage collection

{{GlossarySidebar}} 

Garbage collection is a term used in {{Glossary("computer programming")}}  to describe the process of finding and deleting {{Glossary("object", "objects")}}  which are no longer being {{Glossary("object reference", "referenced")}}  by other objects.

In other words, garbage collection is the process of removing any objects which are not being used by any other objects. Often abbreviated “GC,” garbage collection is a fundamental component of the memory management system used by {{Glossary("JavaScript")}} .

See also

In this article

View on MDN