JavaScript .firstordefault

let array = ["vera", "chuck", "dave"];
let val = array.find(x => x === "vera");
Sironicas