//find is higher oder function that return only if condition is true const names= ["Shirshak","SabTech","Kdc"] const searchName = names.find(function(name){ return names.inclues("Shirshak") })