I\'m trying to strip the duplicate array values from my current array. And I\'d like to store the fresh list (list without duplicates) into a new variable.
var
Also you can do this
{Array.from(new Set(yourArray.map((j) => j.location))).map((location) => ( {location} ))}