---
title: "Discussion on \"Garbage Collection in javascript\" | Hashnode"
description: "Discussion on \"Garbage Collection in javascript\". garbage collection"
url: "https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Garbage Collection in javascript](https://hashnode.com/post/garbage-collection-in-javascript?utm_source=hashnode&utm_medium=feed)

garbage collection

Sep 6, 2021 · 2 min read · hashnode.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#developer](https://hashnode.com/tag/developer)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[piyush jaiswal](https://hashnode.com/@piyushjswl)

@piyushjswl

  
[View profile](https://hashnode.com/@piyushjswl)

## Responses 2

Markdown supported · ⌘↵ to post

[Carter Snook](https://hashnode.com/@sno2)

[Sep 29, 2021](https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c/comment/6153cbc79c8bfd08f5ba7f6d)

[`WeakRef`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakRef), [`WeakSet`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet), and [`WeakMap`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap) probably also deserve a mention.

[Aditya Mitra](https://hashnode.com/@aditya-mitra)

[Sep 8, 2021](https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c/comment/61384e5283248670799c048f)

Great Article!

Can you also discuss about the _garbage collector pause_ that can occur in JS?

[piyush jaiswal](https://hashnode.com/@piyushjswl)

[Sep 10, 2021](https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c/comment/61384e5283248670799c048f#reply-613b79a71821961e2551ce43)

Thanks for suggesting the topic. Here is the link for the article. [hashnode.com/post/garbage-collection-pause-ckteik…](https://hashnode.com/post/garbage-collection-pause-ckteik1ue01crxas1el7yc2zl)
