---
title: "Comment by Carter Snook on \"Garbage Collection in javascript\" | Hashnode"
description: "WeakRef , WeakSet , and WeakMap probably also deserve a mention."
url: "https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c/comment/6153cbc79c8bfd08f5ba7f6d"
---

[Discussion](https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c)

Comment [Garbage Collection in javascript](https://hashnode.com/posts/garbage-collection-in-javascript/613647b7766bb761a238086c)

[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.
