1var namesArray = [
2 { name: 'John', friend: 'Steve', brother: 'Jeff', sister: 'Karen' },
3 { name: 'Sarah', friend: 'Joan', brother: 'Marvin', sister: 'Diana' },
4 { name: 'Morris', friend: 'Tanya', brother: 'Mike', sister: 'Lisa' },
5 { name: 'Brian', friend: 'Tim', brother: 'Andrew', sister: 'Tanya' },
6];
7
8var tanyaOnly = namesArray.filter(e => Object.values(e).indexOf("Tanya") > -1);
9
10console.log(tanyaOnly);