Help me please with this task

Help me please with this task
0

#1

Hi there, I can’t solve this task:
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 = val;
lookup[result];
// Only change code above this line
return result;
}

// Change this value to test
phoneticLookup(“charlie”);

I got mark near to line lookup[result]; What wrong with this?


#2
  1. What’s the name of the challenge?

  2. What have you tried?