How can i distinct same object data value using Javascript? [ES15/ES16]
for the given data value
[{Zone: "2"},
{Zone: "4"},
{Zone: "4"},
{Zone: "6"},
{Zone: "1"},
{Zone: "2"},
{Zone: "3"},
{Zone: "3"},
{Zone: "4"},
{Zone: "4"}]
after it will distinct it will return
[{Zone: "1"},
{Zone: "2"},
{Zone: "2"},
{Zone: "3"},
{Zone: "4"},
{Zone: "6"}]