Skip to content

Commit b9e6a3c

Browse files
authored
Add getOrInsert() to the Maps group (#3688)
1 parent e48679a commit b9e6a3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

features/getorinsert.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Map getOrInsert()
22
description: The `getOrInsert()` and `getOrInsertComputed()` methods of `Map` objects get a value, setting and getting a default value if needed.
33
spec: https://tc39.es/proposal-upsert/
4+
group: maps
45
compat_features:
56
- javascript.builtins.Map.getOrInsert
67
- javascript.builtins.Map.getOrInsertComputed

0 commit comments

Comments
 (0)