SHARE
TWEET

Untitled

a guest Nov 19th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function phoneticLookup(val) {
  2.     switch(val) {
  3.       case "alpha": return "Adams";
  4.       case "bravo": return "Boston";
  5.       case "charlie": return "Chicago";
  6.       case "delta": return "Denver";
  7.       case "echo": return "Easy";
  8.       case "foxtrot": return "Frank";
  9.     }
  10. }
  11.  
  12. console.log(phoneticLookup("alpha"));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top