I have an array like
let x1=[{"data":"hello","id":2},{"data":"hellr","id":17},{"data":"hellr","id":24}]
It is a sample array.The array is huge what i want is to convert it into set on property data.Is there a way to do this so that I can remove duplicate of data?