Missing a semi colon?

Tell us what’s happening:
Describe your issue in detail here.
var lookup {
“alpha”: “Adams”,
“bravo”: “Boston”,
“charlie”: “Chicago”,
“delta”: “Denver”,
“echo”: “Easy”,
“foxtrot”: “Frank”,
result = lookup[val];

   **Your code so far**
// Setup
function phoneticLookup(val) {
 let 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;

   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.124 Safari/537.36 Edg/102.0.1245.41

Challenge: Using Objects for Lookups

Link to the challenge:

pay attention to this line

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.