You can find all objects that match your search term by using the filter function:
var searchTerm = "Alison";
var alisons = arr.filter(x => {
return x.firstName === searchTerm;
});
Filter takes a callback funciton to filter out items, and only include items in the new array that fit the given criteria. If you're not familiar with ES6 syntax, this is just:
var searchTerm = "Alison";
var alisons = arr.filter(function(x){
return x.firstName === searchTerm;
});
The returned variable, alisons, will be an array of all objects in your array whose first name was Alison.
In case you're curious, the filter function knows about searchTerm because of variable hoisting. Thought I'd mention that just in case you need to move things around for your own code: https://www.w3schools.com/js/js_hoisting.asp
Hope this helps!