Baseline Newly Maps
Map getOrInsert()
The getOrInsert() and getOrInsertComputed() methods of Map objects get a value, setting and getting a default value if needed.
Baseline Status
Newly Available
Since 2026-02-14
First Core Launch
Firefox 144
2025-10-14
Core-3 Stability
119d
Last: Chrome (2026-02-10)
BCD Keys Mapped
4
Group: Maps
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Firefox | desktop | 144 | 2025-10-14 |
| Firefox for Android | mobile | 144 | 2025-10-14 |
| Safari | desktop | 26.2 | 2025-12-12 |
| Safari on iOS | mobile | 26.2 | 2025-12-12 |
| Chrome | desktop | 145 | 2026-02-10 |
| Chrome Android | mobile | 145 | 2026-02-10 |
| Edge | desktop | 145 | 2026-02-14 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| javascript.builtins.Map.getOrInsert | JS | 119d |
| javascript.builtins.Map.getOrInsertComputed | JS | 119d |
| javascript.builtins.WeakMap.getOrInsert | JS | 119d |
| javascript.builtins.WeakMap.getOrInsertComputed | JS | 119d |