1var result1 = [
2 {id:1, name:'Sandra', type:'user', username:'sandra'},
3 {id:2, name:'John', type:'admin', username:'johnny2'},
4 {id:3, name:'Peter', type:'user', username:'pete'},
5 {id:4, name:'Bobby', type:'user', username:'be_bob'}];
6
7
8var data = result1.map(t=>t.name);
9console.log(data);