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

Firefox v144 (2025-10-14) Firefox for Android v144 (2025-10-14) Safari v26.2 (2025-12-12) Safari on iOS v26.2 (2025-12-12) Chrome v145 (2026-02-10) Chrome Android v145 (2026-02-10) Edge v145 (2026-02-14)
Green dot marks the first browser release (2025-10-14); blue dots show subsequent browser launches (+123d total span).

Browser Support Releases

BrowserTypeVersionRelease 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 KeyAreaCore-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