const object1 = {
a: '1',
b: 2
};
for (let [key, value] of Object.entries(object1)) {
console.log(key);
console.log(value);
};
const object1 = {
a: '1',
b: 2
};
for (let [key, value] of Object.entries(object1)) {
console.log(key);
console.log(value);
};