I have this array?
var arr = [{id:"1",Name:"Tom"},
           {id:"2",Name:"Jon"},
           {id:"3",Name:"Tom"},
           {id:"4",Name:"Jack"}]
From array above I need to fecth all existing Names distinct.
var result = getNamesDistinct(arr);
The result should contain result is:
 ["Tom","Jon","Jack"]; 
My question is how to get all existing Names from arr distinct?
 
     
     
     
    