{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/comments/33426561","id":33426561,"diff_hunk":"@@ -26,12 +37,20 @@ var normalizedWords = [];\n \n // The words stored as keys of a dictionary\n var uniqueWordsAsKeys = {};\n-\n+  for (i = 0; i < normalizedWords.length; i++) {\n+    var normWord = normalizedWords[i];\n+    uniqueWordsAsKeys[normWord] = true;\n+}\n // The keys pulled out into a list\n-var uniqueWords = [];\n \n /* your code starts here */\n-\n+var uniqueWords = [];\n+var j = 0;\n+for (var uniqueWord in uniqueWordsAsKeys) {\n+  uniqueWords[j] = uniqueWord;\n+  j +=1;","path":"lib/collections.js","position":44,"original_position":44,"commit_id":"45c3dd0578023c64911dee5dc87aa1d68383fb5c","original_commit_id":"45c3dd0578023c64911dee5dc87aa1d68383fb5c","user":{"login":"MattB-GA-Boston","id":3653013,"avatar_url":"https://avatars.githubusercontent.com/u/3653013?v=3","gravatar_id":"","url":"https://api.github.com/users/MattB-GA-Boston","html_url":"https://github.com/MattB-GA-Boston","followers_url":"https://api.github.com/users/MattB-GA-Boston/followers","following_url":"https://api.github.com/users/MattB-GA-Boston/following{/other_user}","gists_url":"https://api.github.com/users/MattB-GA-Boston/gists{/gist_id}","starred_url":"https://api.github.com/users/MattB-GA-Boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattB-GA-Boston/subscriptions","organizations_url":"https://api.github.com/users/MattB-GA-Boston/orgs","repos_url":"https://api.github.com/users/MattB-GA-Boston/repos","events_url":"https://api.github.com/users/MattB-GA-Boston/events{/privacy}","received_events_url":"https://api.github.com/users/MattB-GA-Boston/received_events","type":"User","site_admin":false},"body":"This will work, but in solving this particular problem, it would probably have been more idiomatic to use `.push()`.","created_at":"2015-06-28T20:25:44Z","updated_at":"2015-06-28T20:25:44Z","html_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment/pull/25#discussion_r33426561","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/comments/33426561"},"html":{"href":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment/pull/25#discussion_r33426561"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25","id":38461620,"html_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment/pull/25","diff_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment/pull/25.diff","patch_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment/pull/25.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues/25","number":25,"state":"open","locked":false,"title":"Completed and tested questions 1 and 2","user":{"login":"GHolmes04","id":12836469,"avatar_url":"https://avatars.githubusercontent.com/u/12836469?v=3","gravatar_id":"","url":"https://api.github.com/users/GHolmes04","html_url":"https://github.com/GHolmes04","followers_url":"https://api.github.com/users/GHolmes04/followers","following_url":"https://api.github.com/users/GHolmes04/following{/other_user}","gists_url":"https://api.github.com/users/GHolmes04/gists{/gist_id}","starred_url":"https://api.github.com/users/GHolmes04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHolmes04/subscriptions","organizations_url":"https://api.github.com/users/GHolmes04/orgs","repos_url":"https://api.github.com/users/GHolmes04/repos","events_url":"https://api.github.com/users/GHolmes04/events{/privacy}","received_events_url":"https://api.github.com/users/GHolmes04/received_events","type":"User","site_admin":false},"body":"Working on Q3 but ran out of time.\r\n\r\n","created_at":"2015-06-24T16:34:59Z","updated_at":"2015-06-28T20:25:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21081d4737820ae686b981fbf87fd75da4611b13","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues/25/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/statuses/45c3dd0578023c64911dee5dc87aa1d68383fb5c","head":{"label":"GHolmes04:master","ref":"master","sha":"45c3dd0578023c64911dee5dc87aa1d68383fb5c","user":{"login":"GHolmes04","id":12836469,"avatar_url":"https://avatars.githubusercontent.com/u/12836469?v=3","gravatar_id":"","url":"https://api.github.com/users/GHolmes04","html_url":"https://github.com/GHolmes04","followers_url":"https://api.github.com/users/GHolmes04/followers","following_url":"https://api.github.com/users/GHolmes04/following{/other_user}","gists_url":"https://api.github.com/users/GHolmes04/gists{/gist_id}","starred_url":"https://api.github.com/users/GHolmes04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHolmes04/subscriptions","organizations_url":"https://api.github.com/users/GHolmes04/orgs","repos_url":"https://api.github.com/users/GHolmes04/repos","events_url":"https://api.github.com/users/GHolmes04/events{/privacy}","received_events_url":"https://api.github.com/users/GHolmes04/received_events","type":"User","site_admin":false},"repo":{"id":37988302,"name":"js-collections-08-solo-assessment","full_name":"GHolmes04/js-collections-08-solo-assessment","owner":{"login":"GHolmes04","id":12836469,"avatar_url":"https://avatars.githubusercontent.com/u/12836469?v=3","gravatar_id":"","url":"https://api.github.com/users/GHolmes04","html_url":"https://github.com/GHolmes04","followers_url":"https://api.github.com/users/GHolmes04/followers","following_url":"https://api.github.com/users/GHolmes04/following{/other_user}","gists_url":"https://api.github.com/users/GHolmes04/gists{/gist_id}","starred_url":"https://api.github.com/users/GHolmes04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GHolmes04/subscriptions","organizations_url":"https://api.github.com/users/GHolmes04/orgs","repos_url":"https://api.github.com/users/GHolmes04/repos","events_url":"https://api.github.com/users/GHolmes04/events{/privacy}","received_events_url":"https://api.github.com/users/GHolmes04/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/GHolmes04/js-collections-08-solo-assessment","description":"Assessment for \"An Introduction to JavaScript Collections\"","fork":true,"url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment","forks_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/forks","keys_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/teams","hooks_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/hooks","issue_events_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/events","assignees_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/tags","blobs_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/languages","stargazers_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/stargazers","contributors_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/contributors","subscribers_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/subscribers","subscription_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/subscription","commits_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/merges","archive_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/downloads","issues_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/labels{/name}","releases_url":"https://api.github.com/repos/GHolmes04/js-collections-08-solo-assessment/releases{/id}","created_at":"2015-06-24T14:09:38Z","updated_at":"2015-06-24T14:09:38Z","pushed_at":"2015-06-24T14:44:25Z","git_url":"git://github.com/GHolmes04/js-collections-08-solo-assessment.git","ssh_url":"git@github.com:GHolmes04/js-collections-08-solo-assessment.git","clone_url":"https://github.com/GHolmes04/js-collections-08-solo-assessment.git","svn_url":"https://github.com/GHolmes04/js-collections-08-solo-assessment","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-wdi-boston:master","ref":"master","sha":"e91516f48070490d70f08e55c20b80de9d974b4f","user":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"repo":{"id":37834767,"name":"js-collections-08-solo-assessment","full_name":"ga-wdi-boston/js-collections-08-solo-assessment","owner":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment","description":"Assessment for \"An Introduction to JavaScript Collections\"","fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment","forks_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/releases{/id}","created_at":"2015-06-22T02:42:09Z","updated_at":"2015-06-22T14:14:12Z","pushed_at":"2015-06-24T19:33:20Z","git_url":"git://github.com/ga-wdi-boston/js-collections-08-solo-assessment.git","ssh_url":"git@github.com:ga-wdi-boston/js-collections-08-solo-assessment.git","clone_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment.git","svn_url":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":6,"forks":16,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25"},"html":{"href":"https://github.com/ga-wdi-boston/js-collections-08-solo-assessment/pull/25"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues/25"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/js-collections-08-solo-assessment/statuses/45c3dd0578023c64911dee5dc87aa1d68383fb5c"}}}}