let arr = [
["author", "text"],
["author", "text"],
["author", "text"]
];
let newArr = [
{author: "text"},
{author: "text"},
{author: "text"}
];
arr.map(item => Object.fromEntries([item]))
const resultArr = [];
for (let i = 0; i < arr.length; i++) {
const item = arr[i];
const obj = {};
obj[item[0]] = item[1];
resultArr.push(obj);
}
const resultArr = [];
for (let [prop, value] of arr) {
const obj = { [prop]: value };
resultArr.push(obj);
}