{"action":"created","comment":{"url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/comments/238112187","pull_request_review_id":180575281,"id":238112187,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODExMjE4Nw==","diff_hunk":"@@ -3,8 +3,16 @@\n const values = ['a', 'b', 'c', 'd', 'a', 'e', 'f', 'c'];\n \n // Add your function here. Try and come up with a good name for this function\n-\n+function constructArrayWithUniqueValues(arr) {\n+    const newValues = [];\n+    for (const element of arr) {","path":"Week3/homework/step4-bonus.js","position":7,"original_position":7,"commit_id":"a186d8e4c91318d897e048f3dc4cfcc4f33e5b3e","original_commit_id":"a186d8e4c91318d897e048f3dc4cfcc4f33e5b3e","user":{"login":"yash-kapila","id":11624426,"node_id":"MDQ6VXNlcjExNjI0NDI2","avatar_url":"https://avatars0.githubusercontent.com/u/11624426?v=4","gravatar_id":"","url":"https://api.github.com/users/yash-kapila","html_url":"https://github.com/yash-kapila","followers_url":"https://api.github.com/users/yash-kapila/followers","following_url":"https://api.github.com/users/yash-kapila/following{/other_user}","gists_url":"https://api.github.com/users/yash-kapila/gists{/gist_id}","starred_url":"https://api.github.com/users/yash-kapila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yash-kapila/subscriptions","organizations_url":"https://api.github.com/users/yash-kapila/orgs","repos_url":"https://api.github.com/users/yash-kapila/repos","events_url":"https://api.github.com/users/yash-kapila/events{/privacy}","received_events_url":"https://api.github.com/users/yash-kapila/received_events","type":"User","site_admin":false},"body":"This is nice but would you like to try it with `Array.reduce`? 😉 ","created_at":"2018-12-02T20:00:30Z","updated_at":"2018-12-02T20:00:31Z","html_url":"https://github.com/HackYourFuture/JavaScript2/pull/193#discussion_r238112187","pull_request_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/comments/238112187"},"html":{"href":"https://github.com/HackYourFuture/JavaScript2/pull/193#discussion_r238112187"},"pull_request":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193","id":234450324,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NDUwMzI0","html_url":"https://github.com/HackYourFuture/JavaScript2/pull/193","diff_url":"https://github.com/HackYourFuture/JavaScript2/pull/193.diff","patch_url":"https://github.com/HackYourFuture/JavaScript2/pull/193.patch","issue_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues/193","number":193,"state":"open","locked":false,"title":"added homework week 3 step 3 and step 4","user":{"login":"Wael-Alhomsi","id":37341886,"node_id":"MDQ6VXNlcjM3MzQxODg2","avatar_url":"https://avatars0.githubusercontent.com/u/37341886?v=4","gravatar_id":"","url":"https://api.github.com/users/Wael-Alhomsi","html_url":"https://github.com/Wael-Alhomsi","followers_url":"https://api.github.com/users/Wael-Alhomsi/followers","following_url":"https://api.github.com/users/Wael-Alhomsi/following{/other_user}","gists_url":"https://api.github.com/users/Wael-Alhomsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Wael-Alhomsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wael-Alhomsi/subscriptions","organizations_url":"https://api.github.com/users/Wael-Alhomsi/orgs","repos_url":"https://api.github.com/users/Wael-Alhomsi/repos","events_url":"https://api.github.com/users/Wael-Alhomsi/events{/privacy}","received_events_url":"https://api.github.com/users/Wael-Alhomsi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-28T22:47:09Z","updated_at":"2018-12-02T20:00:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82376770f1ddede2d4b9707fe52f7a89fdeeabc4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193/commits","review_comments_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193/comments","review_comment_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues/193/comments","statuses_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/statuses/a186d8e4c91318d897e048f3dc4cfcc4f33e5b3e","head":{"label":"Wael-Alhomsi:waelAlhomsi-class18-js2-week3","ref":"waelAlhomsi-class18-js2-week3","sha":"a186d8e4c91318d897e048f3dc4cfcc4f33e5b3e","user":{"login":"Wael-Alhomsi","id":37341886,"node_id":"MDQ6VXNlcjM3MzQxODg2","avatar_url":"https://avatars0.githubusercontent.com/u/37341886?v=4","gravatar_id":"","url":"https://api.github.com/users/Wael-Alhomsi","html_url":"https://github.com/Wael-Alhomsi","followers_url":"https://api.github.com/users/Wael-Alhomsi/followers","following_url":"https://api.github.com/users/Wael-Alhomsi/following{/other_user}","gists_url":"https://api.github.com/users/Wael-Alhomsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Wael-Alhomsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wael-Alhomsi/subscriptions","organizations_url":"https://api.github.com/users/Wael-Alhomsi/orgs","repos_url":"https://api.github.com/users/Wael-Alhomsi/repos","events_url":"https://api.github.com/users/Wael-Alhomsi/events{/privacy}","received_events_url":"https://api.github.com/users/Wael-Alhomsi/received_events","type":"User","site_admin":false},"repo":{"id":132674402,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2NzQ0MDI=","name":"JavaScript2","full_name":"Wael-Alhomsi/JavaScript2","private":false,"owner":{"login":"Wael-Alhomsi","id":37341886,"node_id":"MDQ6VXNlcjM3MzQxODg2","avatar_url":"https://avatars0.githubusercontent.com/u/37341886?v=4","gravatar_id":"","url":"https://api.github.com/users/Wael-Alhomsi","html_url":"https://github.com/Wael-Alhomsi","followers_url":"https://api.github.com/users/Wael-Alhomsi/followers","following_url":"https://api.github.com/users/Wael-Alhomsi/following{/other_user}","gists_url":"https://api.github.com/users/Wael-Alhomsi/gists{/gist_id}","starred_url":"https://api.github.com/users/Wael-Alhomsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wael-Alhomsi/subscriptions","organizations_url":"https://api.github.com/users/Wael-Alhomsi/orgs","repos_url":"https://api.github.com/users/Wael-Alhomsi/repos","events_url":"https://api.github.com/users/Wael-Alhomsi/events{/privacy}","received_events_url":"https://api.github.com/users/Wael-Alhomsi/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Wael-Alhomsi/JavaScript2","description":"Course content for the JavaScript2 module","fork":true,"url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2","forks_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/forks","keys_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/teams","hooks_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/hooks","issue_events_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/issues/events{/number}","events_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/events","assignees_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/assignees{/user}","branches_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/branches{/branch}","tags_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/tags","blobs_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/statuses/{sha}","languages_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/languages","stargazers_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/stargazers","contributors_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/contributors","subscribers_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/subscribers","subscription_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/subscription","commits_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/contents/{+path}","compare_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/merges","archive_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/downloads","issues_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/issues{/number}","pulls_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/pulls{/number}","milestones_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/milestones{/number}","notifications_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/labels{/name}","releases_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/releases{/id}","deployments_url":"https://api.github.com/repos/Wael-Alhomsi/JavaScript2/deployments","created_at":"2018-05-08T23:04:25Z","updated_at":"2018-05-08T23:04:26Z","pushed_at":"2018-12-01T22:34:54Z","git_url":"git://github.com/Wael-Alhomsi/JavaScript2.git","ssh_url":"git@github.com:Wael-Alhomsi/JavaScript2.git","clone_url":"https://github.com/Wael-Alhomsi/JavaScript2.git","svn_url":"https://github.com/Wael-Alhomsi/JavaScript2","homepage":null,"size":15395,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HackYourFuture:master","ref":"master","sha":"bcf127e5ccf4c80019a0152e70d1b4526f54e24e","user":{"login":"HackYourFuture","id":20858568,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODU4NTY4","avatar_url":"https://avatars2.githubusercontent.com/u/20858568?v=4","gravatar_id":"","url":"https://api.github.com/users/HackYourFuture","html_url":"https://github.com/HackYourFuture","followers_url":"https://api.github.com/users/HackYourFuture/followers","following_url":"https://api.github.com/users/HackYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/HackYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/HackYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackYourFuture/subscriptions","organizations_url":"https://api.github.com/users/HackYourFuture/orgs","repos_url":"https://api.github.com/users/HackYourFuture/repos","events_url":"https://api.github.com/users/HackYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/HackYourFuture/received_events","type":"Organization","site_admin":false},"repo":{"id":124885266,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQ4ODUyNjY=","name":"JavaScript2","full_name":"HackYourFuture/JavaScript2","private":false,"owner":{"login":"HackYourFuture","id":20858568,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwODU4NTY4","avatar_url":"https://avatars2.githubusercontent.com/u/20858568?v=4","gravatar_id":"","url":"https://api.github.com/users/HackYourFuture","html_url":"https://github.com/HackYourFuture","followers_url":"https://api.github.com/users/HackYourFuture/followers","following_url":"https://api.github.com/users/HackYourFuture/following{/other_user}","gists_url":"https://api.github.com/users/HackYourFuture/gists{/gist_id}","starred_url":"https://api.github.com/users/HackYourFuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HackYourFuture/subscriptions","organizations_url":"https://api.github.com/users/HackYourFuture/orgs","repos_url":"https://api.github.com/users/HackYourFuture/repos","events_url":"https://api.github.com/users/HackYourFuture/events{/privacy}","received_events_url":"https://api.github.com/users/HackYourFuture/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/HackYourFuture/JavaScript2","description":"Course content for the JavaScript2 module","fork":false,"url":"https://api.github.com/repos/HackYourFuture/JavaScript2","forks_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/forks","keys_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/teams","hooks_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/hooks","issue_events_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues/events{/number}","events_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/events","assignees_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/assignees{/user}","branches_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/branches{/branch}","tags_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/tags","blobs_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/git/refs{/sha}","trees_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/statuses/{sha}","languages_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/languages","stargazers_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/stargazers","contributors_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/contributors","subscribers_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/subscribers","subscription_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/subscription","commits_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/commits{/sha}","git_commits_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/git/commits{/sha}","comments_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/comments{/number}","issue_comment_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues/comments{/number}","contents_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/contents/{+path}","compare_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/merges","archive_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/downloads","issues_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues{/number}","pulls_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls{/number}","milestones_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/milestones{/number}","notifications_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/labels{/name}","releases_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/releases{/id}","deployments_url":"https://api.github.com/repos/HackYourFuture/JavaScript2/deployments","created_at":"2018-03-12T12:24:28Z","updated_at":"2018-11-24T18:38:42Z","pushed_at":"2018-12-02T10:29:43Z","git_url":"git://github.com/HackYourFuture/JavaScript2.git","ssh_url":"git@github.com:HackYourFuture/JavaScript2.git","clone_url":"https://github.com/HackYourFuture/JavaScript2.git","svn_url":"https://github.com/HackYourFuture/JavaScript2","homepage":null,"size":11121,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":97,"open_issues":36,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193"},"html":{"href":"https://github.com/HackYourFuture/JavaScript2/pull/193"},"issue":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues/193"},"comments":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/HackYourFuture/JavaScript2/statuses/a186d8e4c91318d897e048f3dc4cfcc4f33e5b3e"}},"author_association":"NONE"}}
{"actor":{"display_login":"yash-kapila"}}