Skip to content
Related Articles

Related Articles

JavaScript WeakMap Complete Reference

Improve Article
Save Article
Like Article
  • Difficulty Level : Basic
  • Last Updated : 16 Mar, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!