{"action":"created","comment":{"url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/comments/181719442","pull_request_review_id":112395781,"id":181719442,"diff_hunk":"@@ -0,0 +1,42 @@\n+var arr1 = [1,2,3,4,5];\n+\n+function ArrSum(arr) {\n+  var sum = 0;\n+  for (var i = 0; i < arr.length; i++){\n+    sum += arr[i];\n+  }\n+\n+  return sum;\n+}\n+\n+function SortArr1(arr) {\n+  var n = arr.length;\n+  for (j = 0; j < n; j++){\n+    for (i = 0; i < n - 1; i++){\n+      if (arr[i] > arr[i + 1]){\n+        k = arr[i];\n+        arr[i] = arr[i + 1];\n+        arr[i + 1] = k;\n+      }\n+    }\n+  }\n+  return arr;\n+}\n+\n+\n+function SortArr2 (a, b) {\n+  return a  -b;\n+}\n+\n+\n+function UniqueArr(arr) {\n+  var result = [];\n+  for (i = 0; i < arr.length; i++){\n+    var str = arr[i];\n+    for (j = 0; j < result.length; j++){\n+      if (result[j] == str) continue;","path":"lesson1.js","position":37,"original_position":37,"commit_id":"3fa34831788223c41ee3b6a565eb8bdca71f97a4","original_commit_id":"3fa34831788223c41ee3b6a565eb8bdca71f97a4","user":{"login":"andrey-shostik","id":13626849,"avatar_url":"https://avatars0.githubusercontent.com/u/13626849?v=4","gravatar_id":"","url":"https://api.github.com/users/andrey-shostik","html_url":"https://github.com/andrey-shostik","followers_url":"https://api.github.com/users/andrey-shostik/followers","following_url":"https://api.github.com/users/andrey-shostik/following{/other_user}","gists_url":"https://api.github.com/users/andrey-shostik/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-shostik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-shostik/subscriptions","organizations_url":"https://api.github.com/users/andrey-shostik/orgs","repos_url":"https://api.github.com/users/andrey-shostik/repos","events_url":"https://api.github.com/users/andrey-shostik/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-shostik/received_events","type":"User","site_admin":false},"body":"договаривались не использовать continue, и в теле условия цикла писать фигурные скобки","created_at":"2018-04-16T12:42:23Z","updated_at":"2018-04-16T12:43:07Z","html_url":"https://github.com/andrey-shostik/JS-courses/pull/35#discussion_r181719442","pull_request_url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/comments/181719442"},"html":{"href":"https://github.com/andrey-shostik/JS-courses/pull/35#discussion_r181719442"},"pull_request":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35","id":181835610,"html_url":"https://github.com/andrey-shostik/JS-courses/pull/35","diff_url":"https://github.com/andrey-shostik/JS-courses/pull/35.diff","patch_url":"https://github.com/andrey-shostik/JS-courses/pull/35.patch","issue_url":"https://api.github.com/repos/andrey-shostik/JS-courses/issues/35","number":35,"state":"open","locked":false,"title":"Nastya Zagulyayeva.Lesson1","user":{"login":"NastyaZagulyayeva","id":38159928,"avatar_url":"https://avatars2.githubusercontent.com/u/38159928?v=4","gravatar_id":"","url":"https://api.github.com/users/NastyaZagulyayeva","html_url":"https://github.com/NastyaZagulyayeva","followers_url":"https://api.github.com/users/NastyaZagulyayeva/followers","following_url":"https://api.github.com/users/NastyaZagulyayeva/following{/other_user}","gists_url":"https://api.github.com/users/NastyaZagulyayeva/gists{/gist_id}","starred_url":"https://api.github.com/users/NastyaZagulyayeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NastyaZagulyayeva/subscriptions","organizations_url":"https://api.github.com/users/NastyaZagulyayeva/orgs","repos_url":"https://api.github.com/users/NastyaZagulyayeva/repos","events_url":"https://api.github.com/users/NastyaZagulyayeva/events{/privacy}","received_events_url":"https://api.github.com/users/NastyaZagulyayeva/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-16T11:50:41Z","updated_at":"2018-04-16T12:43:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b75758b50a2461f0ffd8003571a8a00c0989a741","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35/commits","review_comments_url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35/comments","review_comment_url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andrey-shostik/JS-courses/issues/35/comments","statuses_url":"https://api.github.com/repos/andrey-shostik/JS-courses/statuses/3fa34831788223c41ee3b6a565eb8bdca71f97a4","head":{"label":"NastyaZagulyayeva:lesson-1","ref":"lesson-1","sha":"3fa34831788223c41ee3b6a565eb8bdca71f97a4","user":{"login":"NastyaZagulyayeva","id":38159928,"avatar_url":"https://avatars2.githubusercontent.com/u/38159928?v=4","gravatar_id":"","url":"https://api.github.com/users/NastyaZagulyayeva","html_url":"https://github.com/NastyaZagulyayeva","followers_url":"https://api.github.com/users/NastyaZagulyayeva/followers","following_url":"https://api.github.com/users/NastyaZagulyayeva/following{/other_user}","gists_url":"https://api.github.com/users/NastyaZagulyayeva/gists{/gist_id}","starred_url":"https://api.github.com/users/NastyaZagulyayeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NastyaZagulyayeva/subscriptions","organizations_url":"https://api.github.com/users/NastyaZagulyayeva/orgs","repos_url":"https://api.github.com/users/NastyaZagulyayeva/repos","events_url":"https://api.github.com/users/NastyaZagulyayeva/events{/privacy}","received_events_url":"https://api.github.com/users/NastyaZagulyayeva/received_events","type":"User","site_admin":false},"repo":{"id":129619725,"name":"JS-courses","full_name":"NastyaZagulyayeva/JS-courses","owner":{"login":"NastyaZagulyayeva","id":38159928,"avatar_url":"https://avatars2.githubusercontent.com/u/38159928?v=4","gravatar_id":"","url":"https://api.github.com/users/NastyaZagulyayeva","html_url":"https://github.com/NastyaZagulyayeva","followers_url":"https://api.github.com/users/NastyaZagulyayeva/followers","following_url":"https://api.github.com/users/NastyaZagulyayeva/following{/other_user}","gists_url":"https://api.github.com/users/NastyaZagulyayeva/gists{/gist_id}","starred_url":"https://api.github.com/users/NastyaZagulyayeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NastyaZagulyayeva/subscriptions","organizations_url":"https://api.github.com/users/NastyaZagulyayeva/orgs","repos_url":"https://api.github.com/users/NastyaZagulyayeva/repos","events_url":"https://api.github.com/users/NastyaZagulyayeva/events{/privacy}","received_events_url":"https://api.github.com/users/NastyaZagulyayeva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NastyaZagulyayeva/JS-courses","description":null,"fork":true,"url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses","forks_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/forks","keys_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/teams","hooks_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/hooks","issue_events_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/issues/events{/number}","events_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/events","assignees_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/assignees{/user}","branches_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/branches{/branch}","tags_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/tags","blobs_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/languages","stargazers_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/stargazers","contributors_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/contributors","subscribers_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/subscribers","subscription_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/subscription","commits_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/contents/{+path}","compare_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/merges","archive_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/downloads","issues_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/issues{/number}","pulls_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/labels{/name}","releases_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/releases{/id}","deployments_url":"https://api.github.com/repos/NastyaZagulyayeva/JS-courses/deployments","created_at":"2018-04-15T14:46:08Z","updated_at":"2018-04-15T14:46:10Z","pushed_at":"2018-04-16T11:49:33Z","git_url":"git://github.com/NastyaZagulyayeva/JS-courses.git","ssh_url":"git@github.com:NastyaZagulyayeva/JS-courses.git","clone_url":"https://github.com/NastyaZagulyayeva/JS-courses.git","svn_url":"https://github.com/NastyaZagulyayeva/JS-courses","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"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":"andrey-shostik:lesson-1","ref":"lesson-1","sha":"af5f6fd09ee0f9a1bb13704bb518629b1677781f","user":{"login":"andrey-shostik","id":13626849,"avatar_url":"https://avatars0.githubusercontent.com/u/13626849?v=4","gravatar_id":"","url":"https://api.github.com/users/andrey-shostik","html_url":"https://github.com/andrey-shostik","followers_url":"https://api.github.com/users/andrey-shostik/followers","following_url":"https://api.github.com/users/andrey-shostik/following{/other_user}","gists_url":"https://api.github.com/users/andrey-shostik/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-shostik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-shostik/subscriptions","organizations_url":"https://api.github.com/users/andrey-shostik/orgs","repos_url":"https://api.github.com/users/andrey-shostik/repos","events_url":"https://api.github.com/users/andrey-shostik/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-shostik/received_events","type":"User","site_admin":false},"repo":{"id":127763608,"name":"JS-courses","full_name":"andrey-shostik/JS-courses","owner":{"login":"andrey-shostik","id":13626849,"avatar_url":"https://avatars0.githubusercontent.com/u/13626849?v=4","gravatar_id":"","url":"https://api.github.com/users/andrey-shostik","html_url":"https://github.com/andrey-shostik","followers_url":"https://api.github.com/users/andrey-shostik/followers","following_url":"https://api.github.com/users/andrey-shostik/following{/other_user}","gists_url":"https://api.github.com/users/andrey-shostik/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-shostik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-shostik/subscriptions","organizations_url":"https://api.github.com/users/andrey-shostik/orgs","repos_url":"https://api.github.com/users/andrey-shostik/repos","events_url":"https://api.github.com/users/andrey-shostik/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-shostik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrey-shostik/JS-courses","description":null,"fork":false,"url":"https://api.github.com/repos/andrey-shostik/JS-courses","forks_url":"https://api.github.com/repos/andrey-shostik/JS-courses/forks","keys_url":"https://api.github.com/repos/andrey-shostik/JS-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrey-shostik/JS-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrey-shostik/JS-courses/teams","hooks_url":"https://api.github.com/repos/andrey-shostik/JS-courses/hooks","issue_events_url":"https://api.github.com/repos/andrey-shostik/JS-courses/issues/events{/number}","events_url":"https://api.github.com/repos/andrey-shostik/JS-courses/events","assignees_url":"https://api.github.com/repos/andrey-shostik/JS-courses/assignees{/user}","branches_url":"https://api.github.com/repos/andrey-shostik/JS-courses/branches{/branch}","tags_url":"https://api.github.com/repos/andrey-shostik/JS-courses/tags","blobs_url":"https://api.github.com/repos/andrey-shostik/JS-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrey-shostik/JS-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrey-shostik/JS-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrey-shostik/JS-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrey-shostik/JS-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/andrey-shostik/JS-courses/languages","stargazers_url":"https://api.github.com/repos/andrey-shostik/JS-courses/stargazers","contributors_url":"https://api.github.com/repos/andrey-shostik/JS-courses/contributors","subscribers_url":"https://api.github.com/repos/andrey-shostik/JS-courses/subscribers","subscription_url":"https://api.github.com/repos/andrey-shostik/JS-courses/subscription","commits_url":"https://api.github.com/repos/andrey-shostik/JS-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrey-shostik/JS-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrey-shostik/JS-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrey-shostik/JS-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrey-shostik/JS-courses/contents/{+path}","compare_url":"https://api.github.com/repos/andrey-shostik/JS-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrey-shostik/JS-courses/merges","archive_url":"https://api.github.com/repos/andrey-shostik/JS-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrey-shostik/JS-courses/downloads","issues_url":"https://api.github.com/repos/andrey-shostik/JS-courses/issues{/number}","pulls_url":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/andrey-shostik/JS-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/andrey-shostik/JS-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrey-shostik/JS-courses/labels{/name}","releases_url":"https://api.github.com/repos/andrey-shostik/JS-courses/releases{/id}","deployments_url":"https://api.github.com/repos/andrey-shostik/JS-courses/deployments","created_at":"2018-04-02T13:58:41Z","updated_at":"2018-04-06T12:59:21Z","pushed_at":"2018-04-16T12:43:06Z","git_url":"git://github.com/andrey-shostik/JS-courses.git","ssh_url":"git@github.com:andrey-shostik/JS-courses.git","clone_url":"https://github.com/andrey-shostik/JS-courses.git","svn_url":"https://github.com/andrey-shostik/JS-courses","homepage":null,"size":16,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":30,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35"},"html":{"href":"https://github.com/andrey-shostik/JS-courses/pull/35"},"issue":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/issues/35"},"comments":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/andrey-shostik/JS-courses/statuses/3fa34831788223c41ee3b6a565eb8bdca71f97a4"}},"author_association":"NONE"}}
{"actor":{"display_login":"andrey-shostik"}}