WeakMap

suggest change

Versions

WeakMap was added in ES2015. There is no separate version series for the collection.

Syntax

Remarks

Keys must be objects or symbols that were not created with Symbol.for. A WeakMap is not iterable and has no size. For uses of WeakMap, see What are the actual uses of ES6 WeakMap?.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents