Tell us what’s happening:
**Your code so far**
// Setup
function phoneticLookup(val) {
var result = "";
// Only change code below this line
var lookup = {
"alpha": "Adams",
"bravo: "Boston",
"charlie": "Chicago",
"delta": "Denver",
"echo": "Easy",
"foxtrot" : "frank"
};
result = lookup[val];
// Only change code above this line
return result;
}
phoneticLookup("charlie");
**Your browser information:**
User Agent is: Mozilla/5.0 (X11; CrOS x86_64 13421.89.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.183 Safari/537.36
.
Challenge: Using Objects for Lookups
Link to the challenge: