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