// Setup
function phoneticLookup(val) {
var result = "";
// Only change code below this line
function phoneticLookup(val) {
var result = "";
var lookup = {
"alpha": "Adams",
"bravo": "Boston",
"charlie": "Chicago",
"delta": "Denver",
"echo": "Easy",
"foxtrot": "Frank"
};
}
// Only change code above this line
return result;
}
// Change this value to test
phoneticLookup("charlie");
I am getting a result saying that nothing is equal to each other and that phonetic lookup " " is undefined. I’m not sure why because I thought I equalized each one with the : symbol