Rückgabeindex des Arrays mit Funktion in Array Angular

const a = [
{ firstName: "Adam", LastName: "Howard" },
{ firstName: "Ben", LastName: "Skeet" },
{ firstName: "Joseph", LastName: "Skeet" }];

let index = a.findIndex(x => x.LastName === "Skeet");
console.log(index);
Mysterious Mantis