Basic JavaScript - Using Objects for Lookups

Tell us what’s happening:

I do not understand the following part of quiz, when it says

Use it to look up val and assign the associated string to the result variable.
so I did this in the end of object, but it is wrong.

lookup[val]

Your code so far

// Setup
function phoneticLookup(val) {
  let result = "";

  // Only change code below this line
  const lookup = {
    "alpha":"Adams",
    "bravo":"Boston",
    "charlie":"Chicago",
    "delta":"Denver",
    "echo":"Easy",
    "foxtrot":"Frank",
  }
  lookup[val]
  // Only change code above this line
  return result;
}

phoneticLookup("charlie");

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Using Objects for Lookups

You access this value and then don’t do anything with it. You need to return this value.

yea I was trying to figure it out, totally forget we can assign it to result