// 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"
};
lookup[3];
var value = 3
lookup[value];
// Only change code above this line
return result;
}
phoneticLookup("charlie");
just not sure of the last part, and dont want to look at answer yet.
for the challenge to pass the function needs to return the right value
the return statement of the function says return result
the result variable has been initialized with the linevar result = ""; and never changed
try making sure that your function returns the right value
@lukeMersh don’t worry about that comment, you did not do anything wrong in that regard. you have really just not changed the variable that is returned.