I'm sorry if the question isn't clear enough, but I'd like to know why these two arrays are not the same:
const obj = {
country: 'brazil',
year: 2022
}
const objEntries = Object.entries(obj);
console.log('Entry:', objEntries[0]);
console.log('Array:', ["country","brazil"]);
console.log('Is the same:', objEntries[0] === ["country","brazil"]);