source:
imaps-frontend/node_modules/@popperjs/core/lib/utils/expandToHashMap.js
Last change on this file was 79a0317, checked in by , 5 months ago | |
---|---|
|
|
File size: 159 bytes |
Line | |
---|---|
1 | export default function expandToHashMap(value, keys) { |
2 | return keys.reduce(function (hashMap, key) { |
3 | hashMap[key] = value; |
4 | return hashMap; |
5 | }, {}); |
6 | } |
Note:
See TracBrowser
for help on using the repository browser.