@firefoxwebdevs@mastodon.social
Post #1381748
2026-04-16 13:23 UTC
map.getOrInsertComputed is newly baseline! It's a small feature, but I've found it pretty useful. Here's how it works.
Full docs and polyfills on MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap/getOrInsertComputed
Replies (0)
No replies.