Initial commit
This commit is contained in:
6
wwwroot/lib/popper.js/esm/utils/expandToHashMap.js
Normal file
6
wwwroot/lib/popper.js/esm/utils/expandToHashMap.js
Normal file
@@ -0,0 +1,6 @@
|
||||
export default function expandToHashMap(value, keys) {
|
||||
return keys.reduce(function (hashMap, key) {
|
||||
hashMap[key] = value;
|
||||
return hashMap;
|
||||
}, {});
|
||||
}
|
||||
Reference in New Issue
Block a user