Skip to content
Related Articles

Related Articles

JavaScript WeakMap Complete Reference
  • Last Updated : 16 Mar, 2021
GeeksforGeeks - Summer Carnival Banner

WeakMap object in JavaScript is used to store the collection of objects (key-value pairs) in which keys are weakly referenced. The major difference of a WeakSet with the set is that a WeakSet is a collection of objects and not values of some particular type.

The Complete methods of WeakMap are listed below:

Instance Methods

full-stack-img

My Personal Notes arrow_drop_up
Recommended Articles
Page :