{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/comments/43401600","id":43401600,"diff_hunk":"@@ -4,23 +4,45 @@\n // Write a function that takes zero or more arguments\n // and returns the minimum from that set\n // assume that all the argument are numbers\n-var min = function min() {\n \n-};\n+var min = function min(number) {\n+numbers = [6,1,3,4,8];\n+ var minimum = number[0];","path":"lib/assessment.js","position":9,"original_position":9,"commit_id":"f287a346777ba8cbf432d0b14b74b4d663c09623","original_commit_id":"f287a346777ba8cbf432d0b14b74b4d663c09623","user":{"login":"srhoulam","id":7725148,"avatar_url":"https://avatars.githubusercontent.com/u/7725148?v=3","gravatar_id":"","url":"https://api.github.com/users/srhoulam","html_url":"https://github.com/srhoulam","followers_url":"https://api.github.com/users/srhoulam/followers","following_url":"https://api.github.com/users/srhoulam/following{/other_user}","gists_url":"https://api.github.com/users/srhoulam/gists{/gist_id}","starred_url":"https://api.github.com/users/srhoulam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srhoulam/subscriptions","organizations_url":"https://api.github.com/users/srhoulam/orgs","repos_url":"https://api.github.com/users/srhoulam/repos","events_url":"https://api.github.com/users/srhoulam/events{/privacy}","received_events_url":"https://api.github.com/users/srhoulam/received_events","type":"User","site_admin":false},"body":"From here forward, replace all incidences of `number` with `arguments`. The result of that replacement will be a correct min function as specified by the question.","created_at":"2015-10-29T15:39:23Z","updated_at":"2015-10-29T15:39:23Z","html_url":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment/pull/37#discussion_r43401600","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/comments/43401600"},"html":{"href":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment/pull/37#discussion_r43401600"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37","id":48691198,"html_url":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment/pull/37","diff_url":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment/pull/37.diff","patch_url":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment/pull/37.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues/37","number":37,"state":"open","locked":false,"title":"Shim1","user":{"login":"eshimel","id":14185415,"avatar_url":"https://avatars.githubusercontent.com/u/14185415?v=3","gravatar_id":"","url":"https://api.github.com/users/eshimel","html_url":"https://github.com/eshimel","followers_url":"https://api.github.com/users/eshimel/followers","following_url":"https://api.github.com/users/eshimel/following{/other_user}","gists_url":"https://api.github.com/users/eshimel/gists{/gist_id}","starred_url":"https://api.github.com/users/eshimel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshimel/subscriptions","organizations_url":"https://api.github.com/users/eshimel/orgs","repos_url":"https://api.github.com/users/eshimel/repos","events_url":"https://api.github.com/users/eshimel/events{/privacy}","received_events_url":"https://api.github.com/users/eshimel/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-25T23:31:48Z","updated_at":"2015-10-29T15:39:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"286868966b7be020869e07cd82ca0700bfc1b4ee","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues/37/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/statuses/f287a346777ba8cbf432d0b14b74b4d663c09623","head":{"label":"eshimel:shim1","ref":"shim1","sha":"f287a346777ba8cbf432d0b14b74b4d663c09623","user":{"login":"eshimel","id":14185415,"avatar_url":"https://avatars.githubusercontent.com/u/14185415?v=3","gravatar_id":"","url":"https://api.github.com/users/eshimel","html_url":"https://github.com/eshimel","followers_url":"https://api.github.com/users/eshimel/followers","following_url":"https://api.github.com/users/eshimel/following{/other_user}","gists_url":"https://api.github.com/users/eshimel/gists{/gist_id}","starred_url":"https://api.github.com/users/eshimel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshimel/subscriptions","organizations_url":"https://api.github.com/users/eshimel/orgs","repos_url":"https://api.github.com/users/eshimel/repos","events_url":"https://api.github.com/users/eshimel/events{/privacy}","received_events_url":"https://api.github.com/users/eshimel/received_events","type":"User","site_admin":false},"repo":{"id":43822025,"name":"js-functions-ins-and-outs-assessment","full_name":"eshimel/js-functions-ins-and-outs-assessment","owner":{"login":"eshimel","id":14185415,"avatar_url":"https://avatars.githubusercontent.com/u/14185415?v=3","gravatar_id":"","url":"https://api.github.com/users/eshimel","html_url":"https://github.com/eshimel","followers_url":"https://api.github.com/users/eshimel/followers","following_url":"https://api.github.com/users/eshimel/following{/other_user}","gists_url":"https://api.github.com/users/eshimel/gists{/gist_id}","starred_url":"https://api.github.com/users/eshimel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eshimel/subscriptions","organizations_url":"https://api.github.com/users/eshimel/orgs","repos_url":"https://api.github.com/users/eshimel/repos","events_url":"https://api.github.com/users/eshimel/events{/privacy}","received_events_url":"https://api.github.com/users/eshimel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eshimel/js-functions-ins-and-outs-assessment","description":"Assessment JavaScript Functions - \"Ins & Outs\"","fork":true,"url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment","forks_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/forks","keys_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/teams","hooks_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/hooks","issue_events_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/events","assignees_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/tags","blobs_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/languages","stargazers_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/stargazers","contributors_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/contributors","subscribers_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/subscribers","subscription_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/subscription","commits_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/merges","archive_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/downloads","issues_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/labels{/name}","releases_url":"https://api.github.com/repos/eshimel/js-functions-ins-and-outs-assessment/releases{/id}","created_at":"2015-10-07T14:37:22Z","updated_at":"2015-10-07T14:37:23Z","pushed_at":"2015-10-25T22:13:24Z","git_url":"git://github.com/eshimel/js-functions-ins-and-outs-assessment.git","ssh_url":"git@github.com:eshimel/js-functions-ins-and-outs-assessment.git","clone_url":"https://github.com/eshimel/js-functions-ins-and-outs-assessment.git","svn_url":"https://github.com/eshimel/js-functions-ins-and-outs-assessment","homepage":null,"size":91,"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":"5940be47aab723863b9dd944df56b80c8b59fc88","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":43652662,"name":"js-functions-ins-and-outs-assessment","full_name":"ga-wdi-boston/js-functions-ins-and-outs-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-functions-ins-and-outs-assessment","description":"Assessment JavaScript Functions - \"Ins & Outs\"","fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment","forks_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/releases{/id}","created_at":"2015-10-04T21:02:56Z","updated_at":"2015-10-04T21:03:54Z","pushed_at":"2015-10-29T01:47:52Z","git_url":"git://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment.git","ssh_url":"git@github.com:ga-wdi-boston/js-functions-ins-and-outs-assessment.git","clone_url":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment.git","svn_url":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment","homepage":null,"size":329,"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":8,"forks":32,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37"},"html":{"href":"https://github.com/ga-wdi-boston/js-functions-ins-and-outs-assessment/pull/37"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues/37"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/js-functions-ins-and-outs-assessment/statuses/f287a346777ba8cbf432d0b14b74b4d663c09623"}}}}