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
Browser Support Releases
| Browser | Type | Version | Release 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 Key | Area | Core-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) |