{"action":"opened","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10845","repository_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10845/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10845/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/10845/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10845","id":178548527,"number":10845,"title":"Completing this challenge without changing return value","user":{"login":"Agonn","id":1906873,"avatar_url":"https://avatars.githubusercontent.com/u/1906873?v=3","gravatar_id":"","url":"https://api.github.com/users/Agonn","html_url":"https://github.com/Agonn","followers_url":"https://api.github.com/users/Agonn/followers","following_url":"https://api.github.com/users/Agonn/following{/other_user}","gists_url":"https://api.github.com/users/Agonn/gists{/gist_id}","starred_url":"https://api.github.com/users/Agonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Agonn/subscriptions","organizations_url":"https://api.github.com/users/Agonn/orgs","repos_url":"https://api.github.com/users/Agonn/repos","events_url":"https://api.github.com/users/Agonn/events{/privacy}","received_events_url":"https://api.github.com/users/Agonn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T08:18:01Z","updated_at":"2016-09-22T08:18:01Z","closed_at":null,"body":"Challenge [Using Objects for Lookups](https://www.freecodecamp.com/challenges/using-objects-for-lookups#?solution=%0A%2F%2F%20Setup%0Afunction%20phoneticLookup(val)%20%7B%0A%20%20var%20result%20%3D%20%22%22%3B%0A%0A%20%20%2F%2F%20Only%20change%20code%20below%20this%20line%0A%20var%20lookup%20%3D%20%7B%0A%20%20%20%20%20alpha%3A%22Adams%22%2C%0A%20%20%20%20%20bravo%3A%22Boston%22%2C%0A%20%20%20%20%20charlie%3A%20%22Chicago%22%2C%20%20%0A%20%20%20%20%20delta%3A%22Denver%22%2C%0A%20%20%20%20%20echo%3A%20%22Easy%22%2C%0A%20%20%20%20%20foxtrot%3A%20%22Frank%22%0A%20%7D%3B%0A%20%20%0A%0A%20%20%2F%2F%20Only%20change%20code%20above%20this%20line%0A%20%20return%20lookup%5Bval%5D%3B%0A%7D%0A%0A%2F%2F%20Change%20this%20value%20to%20test%0AphoneticLookup(%22foxtrot%22)%3B%0A) has an issue.\r\nUser Agent is: <code>Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36</code>.\r\nPlease describe how to reproduce this issue, and include links to screenshots if possible.\r\n\r\nMy code:\r\n```javascript\r\n\r\n// Setup\r\nfunction phoneticLookup(val) {\r\n  var result = \"\";\r\n\r\n  // Only change code below this line\r\n var lookup = {\r\n     alpha:\"Adams\",\r\n     bravo:\"Boston\",\r\n     charlie: \"Chicago\",  \r\n     delta:\"Denver\",\r\n     echo: \"Easy\",\r\n     foxtrot: \"Frank\"\r\n };\r\n  \r\n\r\n  // Only change code above this line\r\n  return lookup[val];\r\n}\r\n\r\n// Change this value to test\r\nphoneticLookup(\"foxtrot\");\r\n\r\n```\r\n\r\nHow do you complete this without changing the return value to `lookup[val] ` ?"}}
{"actor":{"display_login":"Agonn"}}