{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/comments/41759151","id":41759151,"diff_hunk":"@@ -8,15 +8,17 @@\n // Question 1\n // Write a callback for reduce that selects\n // the minimum value in the array\n-var min = function min() {\n-\n+var min = function min(p, c, i, a) {\n+  var result = p;\n+  if(result > c) result = c;\n+  return result;","path":"lib/assessment.js","position":9,"original_position":9,"commit_id":"f25b3ef84680f563a7fcbdf3b7919100eb895fc2","original_commit_id":"f25b3ef84680f563a7fcbdf3b7919100eb895fc2","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":"Apparently, the curly braces are not _strictly_ necessary; however, I would still defer towards your including them.","created_at":"2015-10-12T14:06:22Z","updated_at":"2015-10-12T14:06:22Z","html_url":"https://github.com/ga-wdi-boston/js-array-methods-assessment/pull/6#discussion_r41759151","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/comments/41759151"},"html":{"href":"https://github.com/ga-wdi-boston/js-array-methods-assessment/pull/6#discussion_r41759151"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6","id":47072414,"html_url":"https://github.com/ga-wdi-boston/js-array-methods-assessment/pull/6","diff_url":"https://github.com/ga-wdi-boston/js-array-methods-assessment/pull/6.diff","patch_url":"https://github.com/ga-wdi-boston/js-array-methods-assessment/pull/6.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues/6","number":6,"state":"open","locked":false,"title":"Response","user":{"login":"kuramameng","id":14181927,"avatar_url":"https://avatars.githubusercontent.com/u/14181927?v=3","gravatar_id":"","url":"https://api.github.com/users/kuramameng","html_url":"https://github.com/kuramameng","followers_url":"https://api.github.com/users/kuramameng/followers","following_url":"https://api.github.com/users/kuramameng/following{/other_user}","gists_url":"https://api.github.com/users/kuramameng/gists{/gist_id}","starred_url":"https://api.github.com/users/kuramameng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuramameng/subscriptions","organizations_url":"https://api.github.com/users/kuramameng/orgs","repos_url":"https://api.github.com/users/kuramameng/repos","events_url":"https://api.github.com/users/kuramameng/events{/privacy}","received_events_url":"https://api.github.com/users/kuramameng/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-07T19:41:51Z","updated_at":"2015-10-12T14:06:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f9694db606e587bace87c255d6967fe127a7c08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues/6/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/statuses/f25b3ef84680f563a7fcbdf3b7919100eb895fc2","head":{"label":"kuramameng:response","ref":"response","sha":"f25b3ef84680f563a7fcbdf3b7919100eb895fc2","user":{"login":"kuramameng","id":14181927,"avatar_url":"https://avatars.githubusercontent.com/u/14181927?v=3","gravatar_id":"","url":"https://api.github.com/users/kuramameng","html_url":"https://github.com/kuramameng","followers_url":"https://api.github.com/users/kuramameng/followers","following_url":"https://api.github.com/users/kuramameng/following{/other_user}","gists_url":"https://api.github.com/users/kuramameng/gists{/gist_id}","starred_url":"https://api.github.com/users/kuramameng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuramameng/subscriptions","organizations_url":"https://api.github.com/users/kuramameng/orgs","repos_url":"https://api.github.com/users/kuramameng/repos","events_url":"https://api.github.com/users/kuramameng/events{/privacy}","received_events_url":"https://api.github.com/users/kuramameng/received_events","type":"User","site_admin":false},"repo":{"id":43838990,"name":"js-array-methods-assessment","full_name":"kuramameng/js-array-methods-assessment","owner":{"login":"kuramameng","id":14181927,"avatar_url":"https://avatars.githubusercontent.com/u/14181927?v=3","gravatar_id":"","url":"https://api.github.com/users/kuramameng","html_url":"https://github.com/kuramameng","followers_url":"https://api.github.com/users/kuramameng/followers","following_url":"https://api.github.com/users/kuramameng/following{/other_user}","gists_url":"https://api.github.com/users/kuramameng/gists{/gist_id}","starred_url":"https://api.github.com/users/kuramameng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuramameng/subscriptions","organizations_url":"https://api.github.com/users/kuramameng/orgs","repos_url":"https://api.github.com/users/kuramameng/repos","events_url":"https://api.github.com/users/kuramameng/events{/privacy}","received_events_url":"https://api.github.com/users/kuramameng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kuramameng/js-array-methods-assessment","description":"Assessment for \"JavaScript Array methods\"","fork":true,"url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment","forks_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/forks","keys_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/teams","hooks_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/hooks","issue_events_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/events","assignees_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/tags","blobs_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/languages","stargazers_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/stargazers","contributors_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/contributors","subscribers_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/subscribers","subscription_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/subscription","commits_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/merges","archive_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/downloads","issues_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/labels{/name}","releases_url":"https://api.github.com/repos/kuramameng/js-array-methods-assessment/releases{/id}","created_at":"2015-10-07T19:12:25Z","updated_at":"2015-10-07T19:12:25Z","pushed_at":"2015-10-07T19:41:33Z","git_url":"git://github.com/kuramameng/js-array-methods-assessment.git","ssh_url":"git@github.com:kuramameng/js-array-methods-assessment.git","clone_url":"https://github.com/kuramameng/js-array-methods-assessment.git","svn_url":"https://github.com/kuramameng/js-array-methods-assessment","homepage":null,"size":83,"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":"7c838acee2257dd08c37bc93f4a6943771d4d45a","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":43658172,"name":"js-array-methods-assessment","full_name":"ga-wdi-boston/js-array-methods-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-array-methods-assessment","description":"Assessment for \"JavaScript Array methods\"","fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment","forks_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/releases{/id}","created_at":"2015-10-05T00:25:39Z","updated_at":"2015-10-05T00:26:39Z","pushed_at":"2015-10-10T16:01:40Z","git_url":"git://github.com/ga-wdi-boston/js-array-methods-assessment.git","ssh_url":"git@github.com:ga-wdi-boston/js-array-methods-assessment.git","clone_url":"https://github.com/ga-wdi-boston/js-array-methods-assessment.git","svn_url":"https://github.com/ga-wdi-boston/js-array-methods-assessment","homepage":null,"size":240,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":26,"forks":32,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6"},"html":{"href":"https://github.com/ga-wdi-boston/js-array-methods-assessment/pull/6"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues/6"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/js-array-methods-assessment/statuses/f25b3ef84680f563a7fcbdf3b7919100eb895fc2"}}}}