Object
A JavaScript Object that stores key-value pairs. For frequent insertion/deletion and updating, a Map object is preferred.
Merge Key & Value Arrays
merge arrays of keys and values with matching indexes into an object
Object.fromEntries(arrKeys.map((item,i) => [item,arrVals[i]]));