I am very new to javascript, my question is I have an array of objects. Is it possible to filter duplicate objects from an Array by using filter method. I know how to remove duplicates from an Array with filter method. So help me to achieve this.
This is my code
const students = [
{
name: 'Mark',
age: 21
},
{
name: 'Williams',
age: 27
},
{
name: 'Mark',
age: 21
}
]