I want to make a function to find specific address as (tokia) after that return name. I tried this code but not give me the name only.
 let  info = [
  {name: "ola",  address: "tokia"},
  {name: "omar",  address: "mokla"},
  {name: "ohod",  address: "gola"}
  ]
function  findNam(info)
{ if(info.address==="tokia")
  { return info.name; }   }
 console.log(info.find(findNam))
 
    