I have this array of objects:
var person = [
{firstName: "Josh", lastName: "Doe", age: 50, eyeColor: "blue"},
{firstName: "Jake", lastName: "Denver", age: 34, eyeColor: "blue"},
{firstName: "Sam", lastName: "Kiszka", age: 20, eyeColor: "brown"}
];
And I have to create a function where you write down a name, and the function can tell you if it's a part of the array of objects or not. Can somebody help me?