Code broke why<<question

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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: Using Objects for Lookups

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Code broke why<<question

???

what question do you have? what do the tests say? what do you think is the issue? what have you tried?

what question do you have? The code no work is qeustion in title
what do the tests say?
That it no work
what do you think is the issue?
That it no work and broke
what have you tried?
the wrong ting

Accessing Object Properties with Variables