JSFiddle - React, Tailwind, and code Playground

JavaScript

var keys = ['key1', 'key2', 'key3'];
var values = [
                [12,112, 1112],
                [31, 331, 3331],
                [64, 65, 66]
             ];

var arrayOfObjects = [];
for(var i=0; i<values.length; i++){
    var obj = {};
    for(var j=0; j<values[i].length; j++){
         obj[keys[j]] = values[i][j];  
      }
    arrayOfObjects.push(obj);
}

// output to console the 3 values
console.log(arrayOfObjects[0]);
console.log(arrayOfObjects[1]);
console.log(arrayOfObjects[2]);