xet
JavaScript
★ 2
updated 3y ago
xet( map, key, factory ) - if map has own property key, return its value. If not, execute factory, assign the return value to key, then return it.
No plain-English explanation yet — one is being written right now. Check back in a minute.