web-feature: Map getOrInsert()

baseline logo Widely available

The getOrInsert() and getOrInsertComputed() methods of Map objects get a value, setting and getting a default value if needed.