I have a problem, that I need to filter all the object present inside the array of objects on basis of keys and need to transform these array of objects into another type of objects
I have tried in this way ...
const values = Object.keys(user).map((key) => {'refKey': key});
console.log(values);
but it's not working! Please help!