Baseline Widely Collections

WeakMap

A WeakMap object holds key-value pairs that do not create strong references to its keys, such that value data can be associated with a key without preventing garbage collection of the key.

Baseline Status
Widely Available
Since 2015-07-29
First Core Launch
Firefox 6
2011-08-16
Core-3 Stability
1,157d (3.2y)
Last: Safari (2014-10-16)
BCD Keys Mapped
9
Group: Collections

Browser Support Timeline

Firefox v6 (2011-08-16) Firefox for Android v6 (2011-08-16) Chrome v36 (2014-07-16) Chrome Android v36 (2014-07-16) Safari on iOS v8 (2014-09-17) Safari v8 (2014-10-16) Edge v12 (2015-07-29)
Green dot marks the first browser release (2011-08-16); blue dots show subsequent browser launches (+1443d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Firefox desktop 6 2011-08-16
Firefox for Android mobile 6 2011-08-16
Chrome desktop 36 2014-07-16
Chrome Android mobile 36 2014-07-16
Safari on iOS mobile 8 2014-09-17
Safari desktop 8 2014-10-16
Edge desktop 12 2015-07-29

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
javascript.builtins.WeakMap JS 1,157d (3.2y)
javascript.builtins.WeakMap.WeakMap JS 1,157d (3.2y)
javascript.builtins.WeakMap.WeakMap.iterable_allowed JS 358d
javascript.builtins.WeakMap.WeakMap.null_allowed JS 258d
javascript.builtins.WeakMap.delete JS 1,157d (3.2y)
javascript.builtins.WeakMap.get JS 1,157d (3.2y)
javascript.builtins.WeakMap.has JS 1,157d (3.2y)
javascript.builtins.WeakMap.set JS 1,157d (3.2y)
javascript.builtins.WeakMap.symbol_as_keys JS 1,064d (2.9y)