File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Map getOrInsert()
2+ description : The `getOrInsert()` and `getOrInsertComputed()` methods of `Map` objects get a value, setting and getting a default value if needed.
3+ spec : https://tc39.es/proposal-upsert/
4+ compat_features :
5+ - javascript.builtins.Map.getOrInsert
6+ - javascript.builtins.Map.getOrInsertComputed
7+ - javascript.builtins.WeakMap.getOrInsert
8+ - javascript.builtins.WeakMap.getOrInsertComputed
Original file line number Diff line number Diff line change 1+ # Generated from: getorinsert.yml
2+ # Do not edit this file by hand. Edit the source file instead!
3+
4+ status:
5+ baseline: false
6+ support: {}
7+ compat_features:
8+ - javascript.builtins.Map.getOrInsert
9+ - javascript.builtins.Map.getOrInsertComputed
10+ - javascript.builtins.WeakMap.getOrInsert
11+ - javascript.builtins.WeakMap.getOrInsertComputed
You can’t perform that action at this time.
0 commit comments