JavaScript Return atingido

function getState(abbr){
   if (abbr=="WY")
   {
   return "Wyoming";
   }
}
Cheerful Crane