mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-04-23 05:47:33 +08:00
daily update
This commit is contained in:
@@ -62,4 +62,9 @@ function getConvertedMap(map, fn) {
|
||||
return newMap;
|
||||
}
|
||||
|
||||
export { clone, max, min, sum, average, weightRandom, listRandom, getListValuesMap, mapConvert, getConvertedMap };
|
||||
function mapSet(target, source) {
|
||||
for(const key in source)
|
||||
target[key] = source[key];
|
||||
}
|
||||
|
||||
export { clone, max, min, sum, average, weightRandom, listRandom, getListValuesMap, mapConvert, getConvertedMap, mapSet };
|
||||
Reference in New Issue
Block a user