I have an array of object such that every element has unique objects. How can I make a list of all those unique elements? Eg
const obj = [
{
a: 'a',
b: 'b',
},
{
c: 'c',
d: 'd',
},
{
e: 'e',
f: 'f',
},
];
I want an array of keys - [a,b,c,d,e,f]