# Garbage Collection

Automatic recovery of heap memory from objects a program can no longer reach.

## What is **Garbage Collection** in JavaScript?

**Garbage Collection** — Automatic recovery of heap memory from objects a program can no longer reach.

Level: Master · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/master)

Updated: September 27, 2026

## In other subjects

- [Garbage Collection in C#](https://www.ask-codey.com/glossary/garbage-collection-c-sharp)
- [Garbage Collection in Java](https://www.ask-codey.com/glossary/garbage-collection)

Source: https://www.ask-codey.com/glossary/garbage-collection-javascript
