const obj1 = { a: 1 };
const obj2 = Object.create(obj1);
obj2.b = 2;
const result = Object.entries(obj2).map(([key, value]) => key + value);
console.log(result);
Post #1449
6.33K
CHALLENGE