data structure to be implemented: const data = [{.}, {.},.];
// arrays
arrays = [[1,2,3],[4,5,6],[7,8,9],[10,11,12]];
// key keys
keys = ["a","b","c"];
question: how to combine the above data into the following form?
data = [{a:1,b:2,c:3},{a:4,b:5,c:6},{a:7,b:8,c:9},{a:10,b:11,c:12}];