{"action":"created","comment":{"url":"https://api.github.com/repos/machendos/lecture/pulls/comments/223229692","pull_request_review_id":162306356,"id":223229692,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzIyOTY5Mg==","diff_hunk":"@@ -0,0 +1,36 @@\n+'use strict';\n+\n+const fs = require('fs');\n+\n+const collection = {\n+  sort: arr => arr.sort((a, b) => a - b),\n+  filter: arr => arr.filter(el => el > 10),\n+  shift: arr => arr.shift(),\n+  pop: arr => arr.pop()\n+};\n+\n+const numbers = [4, 7, 12, 16, 90, 0, 567, 123, 657];\n+\n+class ArrayAdvanced extends Array {\n+  constructor(array) {\n+    super();\n+    this.array = array.slice();\n+  }\n+  specialSort(collection) {\n+    if (collection.hasOwnProperty('sort')) collection.sort(this.array);","path":"tasks/basics/nodeTask.js","position":20,"original_position":20,"commit_id":"a30ed03ef457b05302cc99d2bb96ab938799a61f","original_commit_id":"a30ed03ef457b05302cc99d2bb96ab938799a61f","user":{"login":"machendos","id":31672085,"node_id":"MDQ6VXNlcjMxNjcyMDg1","avatar_url":"https://avatars2.githubusercontent.com/u/31672085?v=4","gravatar_id":"","url":"https://api.github.com/users/machendos","html_url":"https://github.com/machendos","followers_url":"https://api.github.com/users/machendos/followers","following_url":"https://api.github.com/users/machendos/following{/other_user}","gists_url":"https://api.github.com/users/machendos/gists{/gist_id}","starred_url":"https://api.github.com/users/machendos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machendos/subscriptions","organizations_url":"https://api.github.com/users/machendos/orgs","repos_url":"https://api.github.com/users/machendos/repos","events_url":"https://api.github.com/users/machendos/events{/privacy}","received_events_url":"https://api.github.com/users/machendos/received_events","type":"User","site_admin":false},"body":"Функция сортировки, а так же все остальные функции из опционального объекта - функции, которые перебирают один элемент массива. Они не должны сортировать сразу весь массив","created_at":"2018-10-07T21:57:55Z","updated_at":"2018-10-07T21:59:03Z","html_url":"https://github.com/machendos/lecture/pull/1#discussion_r223229692","pull_request_url":"https://api.github.com/repos/machendos/lecture/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/machendos/lecture/pulls/comments/223229692"},"html":{"href":"https://github.com/machendos/lecture/pull/1#discussion_r223229692"},"pull_request":{"href":"https://api.github.com/repos/machendos/lecture/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/machendos/lecture/pulls/1","id":220966751,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwOTY2NzUx","html_url":"https://github.com/machendos/lecture/pull/1","diff_url":"https://github.com/machendos/lecture/pull/1.diff","patch_url":"https://github.com/machendos/lecture/pull/1.patch","issue_url":"https://api.github.com/repos/machendos/lecture/issues/1","number":1,"state":"open","locked":false,"title":"made task","user":{"login":"KHYehor","id":31667493,"node_id":"MDQ6VXNlcjMxNjY3NDkz","avatar_url":"https://avatars3.githubusercontent.com/u/31667493?v=4","gravatar_id":"","url":"https://api.github.com/users/KHYehor","html_url":"https://github.com/KHYehor","followers_url":"https://api.github.com/users/KHYehor/followers","following_url":"https://api.github.com/users/KHYehor/following{/other_user}","gists_url":"https://api.github.com/users/KHYehor/gists{/gist_id}","starred_url":"https://api.github.com/users/KHYehor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KHYehor/subscriptions","organizations_url":"https://api.github.com/users/KHYehor/orgs","repos_url":"https://api.github.com/users/KHYehor/repos","events_url":"https://api.github.com/users/KHYehor/events{/privacy}","received_events_url":"https://api.github.com/users/KHYehor/received_events","type":"User","site_admin":false},"body":"Гит Игнор не ставил на лог файл, а так сделал как понял, жду вразумительных ревьюх.","created_at":"2018-10-07T19:10:37Z","updated_at":"2018-10-07T21:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42bff866aa20e89a91f37f0b434efa1cdb5a5012","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/machendos/lecture/pulls/1/commits","review_comments_url":"https://api.github.com/repos/machendos/lecture/pulls/1/comments","review_comment_url":"https://api.github.com/repos/machendos/lecture/pulls/comments{/number}","comments_url":"https://api.github.com/repos/machendos/lecture/issues/1/comments","statuses_url":"https://api.github.com/repos/machendos/lecture/statuses/a30ed03ef457b05302cc99d2bb96ab938799a61f","head":{"label":"KHYehor:master","ref":"master","sha":"a30ed03ef457b05302cc99d2bb96ab938799a61f","user":{"login":"KHYehor","id":31667493,"node_id":"MDQ6VXNlcjMxNjY3NDkz","avatar_url":"https://avatars3.githubusercontent.com/u/31667493?v=4","gravatar_id":"","url":"https://api.github.com/users/KHYehor","html_url":"https://github.com/KHYehor","followers_url":"https://api.github.com/users/KHYehor/followers","following_url":"https://api.github.com/users/KHYehor/following{/other_user}","gists_url":"https://api.github.com/users/KHYehor/gists{/gist_id}","starred_url":"https://api.github.com/users/KHYehor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KHYehor/subscriptions","organizations_url":"https://api.github.com/users/KHYehor/orgs","repos_url":"https://api.github.com/users/KHYehor/repos","events_url":"https://api.github.com/users/KHYehor/events{/privacy}","received_events_url":"https://api.github.com/users/KHYehor/received_events","type":"User","site_admin":false},"repo":{"id":151975325,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE5NzUzMjU=","name":"lecture","full_name":"KHYehor/lecture","private":false,"owner":{"login":"KHYehor","id":31667493,"node_id":"MDQ6VXNlcjMxNjY3NDkz","avatar_url":"https://avatars3.githubusercontent.com/u/31667493?v=4","gravatar_id":"","url":"https://api.github.com/users/KHYehor","html_url":"https://github.com/KHYehor","followers_url":"https://api.github.com/users/KHYehor/followers","following_url":"https://api.github.com/users/KHYehor/following{/other_user}","gists_url":"https://api.github.com/users/KHYehor/gists{/gist_id}","starred_url":"https://api.github.com/users/KHYehor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KHYehor/subscriptions","organizations_url":"https://api.github.com/users/KHYehor/orgs","repos_url":"https://api.github.com/users/KHYehor/repos","events_url":"https://api.github.com/users/KHYehor/events{/privacy}","received_events_url":"https://api.github.com/users/KHYehor/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KHYehor/lecture","description":null,"fork":true,"url":"https://api.github.com/repos/KHYehor/lecture","forks_url":"https://api.github.com/repos/KHYehor/lecture/forks","keys_url":"https://api.github.com/repos/KHYehor/lecture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KHYehor/lecture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KHYehor/lecture/teams","hooks_url":"https://api.github.com/repos/KHYehor/lecture/hooks","issue_events_url":"https://api.github.com/repos/KHYehor/lecture/issues/events{/number}","events_url":"https://api.github.com/repos/KHYehor/lecture/events","assignees_url":"https://api.github.com/repos/KHYehor/lecture/assignees{/user}","branches_url":"https://api.github.com/repos/KHYehor/lecture/branches{/branch}","tags_url":"https://api.github.com/repos/KHYehor/lecture/tags","blobs_url":"https://api.github.com/repos/KHYehor/lecture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KHYehor/lecture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KHYehor/lecture/git/refs{/sha}","trees_url":"https://api.github.com/repos/KHYehor/lecture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KHYehor/lecture/statuses/{sha}","languages_url":"https://api.github.com/repos/KHYehor/lecture/languages","stargazers_url":"https://api.github.com/repos/KHYehor/lecture/stargazers","contributors_url":"https://api.github.com/repos/KHYehor/lecture/contributors","subscribers_url":"https://api.github.com/repos/KHYehor/lecture/subscribers","subscription_url":"https://api.github.com/repos/KHYehor/lecture/subscription","commits_url":"https://api.github.com/repos/KHYehor/lecture/commits{/sha}","git_commits_url":"https://api.github.com/repos/KHYehor/lecture/git/commits{/sha}","comments_url":"https://api.github.com/repos/KHYehor/lecture/comments{/number}","issue_comment_url":"https://api.github.com/repos/KHYehor/lecture/issues/comments{/number}","contents_url":"https://api.github.com/repos/KHYehor/lecture/contents/{+path}","compare_url":"https://api.github.com/repos/KHYehor/lecture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KHYehor/lecture/merges","archive_url":"https://api.github.com/repos/KHYehor/lecture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KHYehor/lecture/downloads","issues_url":"https://api.github.com/repos/KHYehor/lecture/issues{/number}","pulls_url":"https://api.github.com/repos/KHYehor/lecture/pulls{/number}","milestones_url":"https://api.github.com/repos/KHYehor/lecture/milestones{/number}","notifications_url":"https://api.github.com/repos/KHYehor/lecture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KHYehor/lecture/labels{/name}","releases_url":"https://api.github.com/repos/KHYehor/lecture/releases{/id}","deployments_url":"https://api.github.com/repos/KHYehor/lecture/deployments","created_at":"2018-10-07T19:02:55Z","updated_at":"2018-10-07T19:06:08Z","pushed_at":"2018-10-07T19:06:07Z","git_url":"git://github.com/KHYehor/lecture.git","ssh_url":"git@github.com:KHYehor/lecture.git","clone_url":"https://github.com/KHYehor/lecture.git","svn_url":"https://github.com/KHYehor/lecture","homepage":null,"size":23,"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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"machendos:master","ref":"master","sha":"e253896101d55c41055b487e75a415a46ba96e9c","user":{"login":"machendos","id":31672085,"node_id":"MDQ6VXNlcjMxNjcyMDg1","avatar_url":"https://avatars2.githubusercontent.com/u/31672085?v=4","gravatar_id":"","url":"https://api.github.com/users/machendos","html_url":"https://github.com/machendos","followers_url":"https://api.github.com/users/machendos/followers","following_url":"https://api.github.com/users/machendos/following{/other_user}","gists_url":"https://api.github.com/users/machendos/gists{/gist_id}","starred_url":"https://api.github.com/users/machendos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machendos/subscriptions","organizations_url":"https://api.github.com/users/machendos/orgs","repos_url":"https://api.github.com/users/machendos/repos","events_url":"https://api.github.com/users/machendos/events{/privacy}","received_events_url":"https://api.github.com/users/machendos/received_events","type":"User","site_admin":false},"repo":{"id":151785148,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3ODUxNDg=","name":"lecture","full_name":"machendos/lecture","private":false,"owner":{"login":"machendos","id":31672085,"node_id":"MDQ6VXNlcjMxNjcyMDg1","avatar_url":"https://avatars2.githubusercontent.com/u/31672085?v=4","gravatar_id":"","url":"https://api.github.com/users/machendos","html_url":"https://github.com/machendos","followers_url":"https://api.github.com/users/machendos/followers","following_url":"https://api.github.com/users/machendos/following{/other_user}","gists_url":"https://api.github.com/users/machendos/gists{/gist_id}","starred_url":"https://api.github.com/users/machendos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machendos/subscriptions","organizations_url":"https://api.github.com/users/machendos/orgs","repos_url":"https://api.github.com/users/machendos/repos","events_url":"https://api.github.com/users/machendos/events{/privacy}","received_events_url":"https://api.github.com/users/machendos/received_events","type":"User","site_admin":false},"html_url":"https://github.com/machendos/lecture","description":null,"fork":false,"url":"https://api.github.com/repos/machendos/lecture","forks_url":"https://api.github.com/repos/machendos/lecture/forks","keys_url":"https://api.github.com/repos/machendos/lecture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/machendos/lecture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/machendos/lecture/teams","hooks_url":"https://api.github.com/repos/machendos/lecture/hooks","issue_events_url":"https://api.github.com/repos/machendos/lecture/issues/events{/number}","events_url":"https://api.github.com/repos/machendos/lecture/events","assignees_url":"https://api.github.com/repos/machendos/lecture/assignees{/user}","branches_url":"https://api.github.com/repos/machendos/lecture/branches{/branch}","tags_url":"https://api.github.com/repos/machendos/lecture/tags","blobs_url":"https://api.github.com/repos/machendos/lecture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/machendos/lecture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/machendos/lecture/git/refs{/sha}","trees_url":"https://api.github.com/repos/machendos/lecture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/machendos/lecture/statuses/{sha}","languages_url":"https://api.github.com/repos/machendos/lecture/languages","stargazers_url":"https://api.github.com/repos/machendos/lecture/stargazers","contributors_url":"https://api.github.com/repos/machendos/lecture/contributors","subscribers_url":"https://api.github.com/repos/machendos/lecture/subscribers","subscription_url":"https://api.github.com/repos/machendos/lecture/subscription","commits_url":"https://api.github.com/repos/machendos/lecture/commits{/sha}","git_commits_url":"https://api.github.com/repos/machendos/lecture/git/commits{/sha}","comments_url":"https://api.github.com/repos/machendos/lecture/comments{/number}","issue_comment_url":"https://api.github.com/repos/machendos/lecture/issues/comments{/number}","contents_url":"https://api.github.com/repos/machendos/lecture/contents/{+path}","compare_url":"https://api.github.com/repos/machendos/lecture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/machendos/lecture/merges","archive_url":"https://api.github.com/repos/machendos/lecture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/machendos/lecture/downloads","issues_url":"https://api.github.com/repos/machendos/lecture/issues{/number}","pulls_url":"https://api.github.com/repos/machendos/lecture/pulls{/number}","milestones_url":"https://api.github.com/repos/machendos/lecture/milestones{/number}","notifications_url":"https://api.github.com/repos/machendos/lecture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/machendos/lecture/labels{/name}","releases_url":"https://api.github.com/repos/machendos/lecture/releases{/id}","deployments_url":"https://api.github.com/repos/machendos/lecture/deployments","created_at":"2018-10-05T22:39:03Z","updated_at":"2018-10-07T16:47:40Z","pushed_at":"2018-10-07T19:35:45Z","git_url":"git://github.com/machendos/lecture.git","ssh_url":"git@github.com:machendos/lecture.git","clone_url":"https://github.com/machendos/lecture.git","svn_url":"https://github.com/machendos/lecture","homepage":null,"size":22,"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":3,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/machendos/lecture/pulls/1"},"html":{"href":"https://github.com/machendos/lecture/pull/1"},"issue":{"href":"https://api.github.com/repos/machendos/lecture/issues/1"},"comments":{"href":"https://api.github.com/repos/machendos/lecture/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/machendos/lecture/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/machendos/lecture/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/machendos/lecture/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/machendos/lecture/statuses/a30ed03ef457b05302cc99d2bb96ab938799a61f"}},"author_association":"NONE"}}
{"actor":{"display_login":"machendos"}}