← back to v145 · upsert

conformance · v145

v145 · upsert — conformance probe

7 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://github.com/tc39/proposal-upsert chromestatus: #5201653661827072 generated 2026-06-01T08:14:32Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
7
total
id contract kind verdict detail
map-get-or-insert-is-function Map.prototype.getOrInsert is a function — inserts the value if the key is absent, otherwise returns the existing. spec ↗ typeof
map-get-or-insert-computed-is-function Map.prototype.getOrInsertComputed is a function — the computed-value variant that only invokes the callback on miss. spec ↗ typeof
map-get-or-insert-inserts-on-miss getOrInsert on a missing key returns the inserted value and writes it to the Map. spec ↗ script
map-get-or-insert-preserves-on-hit getOrInsert on an existing key returns the existing value, not the supplied one. spec ↗ script
map-get-or-insert-computed-only-on-miss getOrInsertComputed only invokes its callback for missing keys. spec ↗ script
weak-map-get-or-insert-is-function WeakMap.prototype.getOrInsert is a function — proposal extends to WeakMap too. spec ↗ typeof
weak-map-get-or-insert-computed-is-function WeakMap.prototype.getOrInsertComputed is a function. spec ↗ typeof