Can't find my error: "Using Objects for Lookups" lesson

I must be missing something because I’m comparing my code to the answer given in the video, and I still can’t find my error:

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;

// Change this value to test
console.log(phoneticLookup("charlie"));

function closing bracket

1 Like