{"action":"created","comment":{"url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/comments/197646732","pull_request_review_id":131430417,"id":197646732,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzY0NjczMg==","diff_hunk":"@@ -0,0 +1,80 @@\n+function largest() {\n+    let numbersArray = Array.from(arguments);\n+    return Math.max.apply(null,numbersArray);\n+}\n+function smallest() {\n+    let numbersArray =  Array.from(arguments);\n+    return Math.min.apply(null,numbersArray);\n+}\n+\n+function transform(arr) {\n+    let baseArray = arr,\n+        newArray  = [];\n+    for(let i = 0; i < baseArray.length; i++)\n+    {\n+        newArray.push(() => baseArray[i]);\n+    }\n+    return newArray;\n+}\n+\n+function sum() {\n+    let sumValue = 0;\n+    let firstNumber = arguments[0];\n+    for (let i = 1; i < arguments.length; i++)\n+        sumValue += sum(arguments[i]);\n+    return sumValue + firstNumber;\n+}\n+\n+function countDown(number) {\n+    let counterSteps = number;\n+    if(counterSteps >= 0) {\n+\n+        setTimeout(() => {console.log(counterSteps--);countDown(counterSteps);}, 1000);\n+    }\n+}\n+\n+Function.prototype.myBind = function () {\n+    let self = arguments[0],\n+        that = this;\n+        this.argumentsList = Array.from(arguments).splice(1);\n+    return function () {\n+        return that.apply(self,that.argumentsList.concat(Array.from(arguments)));","path":"index.js","position":41,"original_position":41,"commit_id":"1c97a91fa07e55a8eda422a7c56b1da2f04207ac","original_commit_id":"1c97a91fa07e55a8eda422a7c56b1da2f04207ac","user":{"login":"safonovaA","id":28713794,"node_id":"MDQ6VXNlcjI4NzEzNzk0","avatar_url":"https://avatars1.githubusercontent.com/u/28713794?v=4","gravatar_id":"","url":"https://api.github.com/users/safonovaA","html_url":"https://github.com/safonovaA","followers_url":"https://api.github.com/users/safonovaA/followers","following_url":"https://api.github.com/users/safonovaA/following{/other_user}","gists_url":"https://api.github.com/users/safonovaA/gists{/gist_id}","starred_url":"https://api.github.com/users/safonovaA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/safonovaA/subscriptions","organizations_url":"https://api.github.com/users/safonovaA/orgs","repos_url":"https://api.github.com/users/safonovaA/repos","events_url":"https://api.github.com/users/safonovaA/events{/privacy}","received_events_url":"https://api.github.com/users/safonovaA/received_events","type":"User","site_admin":false},"body":"В этой функции стоит подумать надо именами и использованием переменных. Например, сейчас ты к this добавляешь новое свойство argumentsList, когда можно было бы создать просто переменную args","created_at":"2018-06-24T17:20:01Z","updated_at":"2018-06-24T17:21:58Z","html_url":"https://github.com/epam-js-may-2018/homework-4-js/pull/4#discussion_r197646732","pull_request_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/comments/197646732"},"html":{"href":"https://github.com/epam-js-may-2018/homework-4-js/pull/4#discussion_r197646732"},"pull_request":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4","id":194440685,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0NDQwNjg1","html_url":"https://github.com/epam-js-may-2018/homework-4-js/pull/4","diff_url":"https://github.com/epam-js-may-2018/homework-4-js/pull/4.diff","patch_url":"https://github.com/epam-js-may-2018/homework-4-js/pull/4.patch","issue_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues/4","number":4,"state":"open","locked":false,"title":"Yuriy Topychkanov","user":{"login":"MitakoHir","id":39930184,"node_id":"MDQ6VXNlcjM5OTMwMTg0","avatar_url":"https://avatars3.githubusercontent.com/u/39930184?v=4","gravatar_id":"","url":"https://api.github.com/users/MitakoHir","html_url":"https://github.com/MitakoHir","followers_url":"https://api.github.com/users/MitakoHir/followers","following_url":"https://api.github.com/users/MitakoHir/following{/other_user}","gists_url":"https://api.github.com/users/MitakoHir/gists{/gist_id}","starred_url":"https://api.github.com/users/MitakoHir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitakoHir/subscriptions","organizations_url":"https://api.github.com/users/MitakoHir/orgs","repos_url":"https://api.github.com/users/MitakoHir/repos","events_url":"https://api.github.com/users/MitakoHir/events{/privacy}","received_events_url":"https://api.github.com/users/MitakoHir/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-13T00:14:52Z","updated_at":"2018-06-24T17:21:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bdf85242b38deff5b93d5469c0bb7cd382ba7867","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4/commits","review_comments_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4/comments","review_comment_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues/4/comments","statuses_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/statuses/1c97a91fa07e55a8eda422a7c56b1da2f04207ac","head":{"label":"MitakoHir:master","ref":"master","sha":"1c97a91fa07e55a8eda422a7c56b1da2f04207ac","user":{"login":"MitakoHir","id":39930184,"node_id":"MDQ6VXNlcjM5OTMwMTg0","avatar_url":"https://avatars3.githubusercontent.com/u/39930184?v=4","gravatar_id":"","url":"https://api.github.com/users/MitakoHir","html_url":"https://github.com/MitakoHir","followers_url":"https://api.github.com/users/MitakoHir/followers","following_url":"https://api.github.com/users/MitakoHir/following{/other_user}","gists_url":"https://api.github.com/users/MitakoHir/gists{/gist_id}","starred_url":"https://api.github.com/users/MitakoHir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitakoHir/subscriptions","organizations_url":"https://api.github.com/users/MitakoHir/orgs","repos_url":"https://api.github.com/users/MitakoHir/repos","events_url":"https://api.github.com/users/MitakoHir/events{/privacy}","received_events_url":"https://api.github.com/users/MitakoHir/received_events","type":"User","site_admin":false},"repo":{"id":137139400,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcxMzk0MDA=","name":"homework-4-js","full_name":"MitakoHir/homework-4-js","owner":{"login":"MitakoHir","id":39930184,"node_id":"MDQ6VXNlcjM5OTMwMTg0","avatar_url":"https://avatars3.githubusercontent.com/u/39930184?v=4","gravatar_id":"","url":"https://api.github.com/users/MitakoHir","html_url":"https://github.com/MitakoHir","followers_url":"https://api.github.com/users/MitakoHir/followers","following_url":"https://api.github.com/users/MitakoHir/following{/other_user}","gists_url":"https://api.github.com/users/MitakoHir/gists{/gist_id}","starred_url":"https://api.github.com/users/MitakoHir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MitakoHir/subscriptions","organizations_url":"https://api.github.com/users/MitakoHir/orgs","repos_url":"https://api.github.com/users/MitakoHir/repos","events_url":"https://api.github.com/users/MitakoHir/events{/privacy}","received_events_url":"https://api.github.com/users/MitakoHir/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MitakoHir/homework-4-js","description":null,"fork":true,"url":"https://api.github.com/repos/MitakoHir/homework-4-js","forks_url":"https://api.github.com/repos/MitakoHir/homework-4-js/forks","keys_url":"https://api.github.com/repos/MitakoHir/homework-4-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MitakoHir/homework-4-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MitakoHir/homework-4-js/teams","hooks_url":"https://api.github.com/repos/MitakoHir/homework-4-js/hooks","issue_events_url":"https://api.github.com/repos/MitakoHir/homework-4-js/issues/events{/number}","events_url":"https://api.github.com/repos/MitakoHir/homework-4-js/events","assignees_url":"https://api.github.com/repos/MitakoHir/homework-4-js/assignees{/user}","branches_url":"https://api.github.com/repos/MitakoHir/homework-4-js/branches{/branch}","tags_url":"https://api.github.com/repos/MitakoHir/homework-4-js/tags","blobs_url":"https://api.github.com/repos/MitakoHir/homework-4-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MitakoHir/homework-4-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MitakoHir/homework-4-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/MitakoHir/homework-4-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MitakoHir/homework-4-js/statuses/{sha}","languages_url":"https://api.github.com/repos/MitakoHir/homework-4-js/languages","stargazers_url":"https://api.github.com/repos/MitakoHir/homework-4-js/stargazers","contributors_url":"https://api.github.com/repos/MitakoHir/homework-4-js/contributors","subscribers_url":"https://api.github.com/repos/MitakoHir/homework-4-js/subscribers","subscription_url":"https://api.github.com/repos/MitakoHir/homework-4-js/subscription","commits_url":"https://api.github.com/repos/MitakoHir/homework-4-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/MitakoHir/homework-4-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/MitakoHir/homework-4-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/MitakoHir/homework-4-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/MitakoHir/homework-4-js/contents/{+path}","compare_url":"https://api.github.com/repos/MitakoHir/homework-4-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MitakoHir/homework-4-js/merges","archive_url":"https://api.github.com/repos/MitakoHir/homework-4-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MitakoHir/homework-4-js/downloads","issues_url":"https://api.github.com/repos/MitakoHir/homework-4-js/issues{/number}","pulls_url":"https://api.github.com/repos/MitakoHir/homework-4-js/pulls{/number}","milestones_url":"https://api.github.com/repos/MitakoHir/homework-4-js/milestones{/number}","notifications_url":"https://api.github.com/repos/MitakoHir/homework-4-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MitakoHir/homework-4-js/labels{/name}","releases_url":"https://api.github.com/repos/MitakoHir/homework-4-js/releases{/id}","deployments_url":"https://api.github.com/repos/MitakoHir/homework-4-js/deployments","created_at":"2018-06-12T23:46:29Z","updated_at":"2018-06-14T21:40:33Z","pushed_at":"2018-06-14T21:40:32Z","git_url":"git://github.com/MitakoHir/homework-4-js.git","ssh_url":"git@github.com:MitakoHir/homework-4-js.git","clone_url":"https://github.com/MitakoHir/homework-4-js.git","svn_url":"https://github.com/MitakoHir/homework-4-js","homepage":null,"size":8,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"epam-js-may-2018:master","ref":"master","sha":"ef52c012ed1fc3ee41acd52af2e5a075ee3b74db","user":{"login":"epam-js-may-2018","id":39733255,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzMzMjU1","avatar_url":"https://avatars0.githubusercontent.com/u/39733255?v=4","gravatar_id":"","url":"https://api.github.com/users/epam-js-may-2018","html_url":"https://github.com/epam-js-may-2018","followers_url":"https://api.github.com/users/epam-js-may-2018/followers","following_url":"https://api.github.com/users/epam-js-may-2018/following{/other_user}","gists_url":"https://api.github.com/users/epam-js-may-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/epam-js-may-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epam-js-may-2018/subscriptions","organizations_url":"https://api.github.com/users/epam-js-may-2018/orgs","repos_url":"https://api.github.com/users/epam-js-may-2018/repos","events_url":"https://api.github.com/users/epam-js-may-2018/events{/privacy}","received_events_url":"https://api.github.com/users/epam-js-may-2018/received_events","type":"Organization","site_admin":false},"repo":{"id":136654141,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY2NTQxNDE=","name":"homework-4-js","full_name":"epam-js-may-2018/homework-4-js","owner":{"login":"epam-js-may-2018","id":39733255,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NzMzMjU1","avatar_url":"https://avatars0.githubusercontent.com/u/39733255?v=4","gravatar_id":"","url":"https://api.github.com/users/epam-js-may-2018","html_url":"https://github.com/epam-js-may-2018","followers_url":"https://api.github.com/users/epam-js-may-2018/followers","following_url":"https://api.github.com/users/epam-js-may-2018/following{/other_user}","gists_url":"https://api.github.com/users/epam-js-may-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/epam-js-may-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epam-js-may-2018/subscriptions","organizations_url":"https://api.github.com/users/epam-js-may-2018/orgs","repos_url":"https://api.github.com/users/epam-js-may-2018/repos","events_url":"https://api.github.com/users/epam-js-may-2018/events{/privacy}","received_events_url":"https://api.github.com/users/epam-js-may-2018/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/epam-js-may-2018/homework-4-js","description":null,"fork":false,"url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js","forks_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/forks","keys_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/teams","hooks_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/hooks","issue_events_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues/events{/number}","events_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/events","assignees_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/assignees{/user}","branches_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/branches{/branch}","tags_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/tags","blobs_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/statuses/{sha}","languages_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/languages","stargazers_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/stargazers","contributors_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/contributors","subscribers_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/subscribers","subscription_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/subscription","commits_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/contents/{+path}","compare_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/merges","archive_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/downloads","issues_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues{/number}","pulls_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls{/number}","milestones_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/milestones{/number}","notifications_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/labels{/name}","releases_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/releases{/id}","deployments_url":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/deployments","created_at":"2018-06-08T18:38:51Z","updated_at":"2018-06-08T20:26:12Z","pushed_at":"2018-06-23T13:58:08Z","git_url":"git://github.com/epam-js-may-2018/homework-4-js.git","ssh_url":"git@github.com:epam-js-may-2018/homework-4-js.git","clone_url":"https://github.com/epam-js-may-2018/homework-4-js.git","svn_url":"https://github.com/epam-js-may-2018/homework-4-js","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":20,"open_issues":19,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4"},"html":{"href":"https://github.com/epam-js-may-2018/homework-4-js/pull/4"},"issue":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues/4"},"comments":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/epam-js-may-2018/homework-4-js/statuses/1c97a91fa07e55a8eda422a7c56b1da2f04207ac"}},"author_association":"NONE"}}
{"actor":{"display_login":"safonovaA"}}