payload: {"action":"created","comment":{"url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/comments/333560685","pull_request_review_id":300120774,"id":333560685,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMzMzU2MDY4NQ==","diff_hunk":"@@ -4,6 +4,22 @@\n */\r\n function addNumber(array, number) {\r\n     // Решение задачи\r\n+    for (let el of array) {\r\n+        if (!Number.isInteger(el) || el < 0 || el > 9)\r\n+            return null;\r\n+    }\r\n+    let numberStr = array[0] + '';\r\n+    let i = 1;\r\n+    while (i < array.length) {\r\n+        numberStr =  numberStr + array[i];\r\n+        i++;\r","path":"index.js","position":12,"original_position":12,"commit_id":"8170457bd66358129eb4cc178ef817eda2f17d28","original_commit_id":"8170457bd66358129eb4cc178ef817eda2f17d28","user":{"login":"AlexNg9","id":56030439,"node_id":"MDQ6VXNlcjU2MDMwNDM5","avatar_url":"https://avatars2.githubusercontent.com/u/56030439?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexNg9","html_url":"https://github.com/AlexNg9","followers_url":"https://api.github.com/users/AlexNg9/followers","following_url":"https://api.github.com/users/AlexNg9/following{/other_user}","gists_url":"https://api.github.com/users/AlexNg9/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexNg9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexNg9/subscriptions","organizations_url":"https://api.github.com/users/AlexNg9/orgs","repos_url":"https://api.github.com/users/AlexNg9/repos","events_url":"https://api.github.com/users/AlexNg9/events{/privacy}","received_events_url":"https://api.github.com/users/AlexNg9/received_events","type":"User","site_admin":false},"body":"Тогда уж лучше for.","created_at":"2019-10-10T14:40:28Z","updated_at":"2019-10-10T14:41:51Z","html_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1/pull/18#discussion_r333560685","pull_request_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/comments/333560685"},"html":{"href":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1/pull/18#discussion_r333560685"},"pull_request":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18","id":326725451,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI2NzI1NDUx","html_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1/pull/18","diff_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1/pull/18.diff","patch_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1/pull/18.patch","issue_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues/18","number":18,"state":"open","locked":false,"title":"first task","user":{"login":"Ulano4ka","id":48246480,"node_id":"MDQ6VXNlcjQ4MjQ2NDgw","avatar_url":"https://avatars2.githubusercontent.com/u/48246480?v=4","gravatar_id":"","url":"https://api.github.com/users/Ulano4ka","html_url":"https://github.com/Ulano4ka","followers_url":"https://api.github.com/users/Ulano4ka/followers","following_url":"https://api.github.com/users/Ulano4ka/following{/other_user}","gists_url":"https://api.github.com/users/Ulano4ka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulano4ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulano4ka/subscriptions","organizations_url":"https://api.github.com/users/Ulano4ka/orgs","repos_url":"https://api.github.com/users/Ulano4ka/repos","events_url":"https://api.github.com/users/Ulano4ka/events{/privacy}","received_events_url":"https://api.github.com/users/Ulano4ka/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-10-10T13:04:34Z","updated_at":"2019-10-10T14:41:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f73b83a11a718469ef29266dc1f327ad11636923","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18/commits","review_comments_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18/comments","review_comment_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues/18/comments","statuses_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/statuses/8170457bd66358129eb4cc178ef817eda2f17d28","head":{"label":"Ulano4ka:lesson-01","ref":"lesson-01","sha":"8170457bd66358129eb4cc178ef817eda2f17d28","user":{"login":"Ulano4ka","id":48246480,"node_id":"MDQ6VXNlcjQ4MjQ2NDgw","avatar_url":"https://avatars2.githubusercontent.com/u/48246480?v=4","gravatar_id":"","url":"https://api.github.com/users/Ulano4ka","html_url":"https://github.com/Ulano4ka","followers_url":"https://api.github.com/users/Ulano4ka/followers","following_url":"https://api.github.com/users/Ulano4ka/following{/other_user}","gists_url":"https://api.github.com/users/Ulano4ka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulano4ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulano4ka/subscriptions","organizations_url":"https://api.github.com/users/Ulano4ka/orgs","repos_url":"https://api.github.com/users/Ulano4ka/repos","events_url":"https://api.github.com/users/Ulano4ka/events{/privacy}","received_events_url":"https://api.github.com/users/Ulano4ka/received_events","type":"User","site_admin":false},"repo":{"id":213366970,"node_id":"MDEwOlJlcG9zaXRvcnkyMTMzNjY5NzA=","name":"rtf-lab-1","full_name":"Ulano4ka/rtf-lab-1","private":false,"owner":{"login":"Ulano4ka","id":48246480,"node_id":"MDQ6VXNlcjQ4MjQ2NDgw","avatar_url":"https://avatars2.githubusercontent.com/u/48246480?v=4","gravatar_id":"","url":"https://api.github.com/users/Ulano4ka","html_url":"https://github.com/Ulano4ka","followers_url":"https://api.github.com/users/Ulano4ka/followers","following_url":"https://api.github.com/users/Ulano4ka/following{/other_user}","gists_url":"https://api.github.com/users/Ulano4ka/gists{/gist_id}","starred_url":"https://api.github.com/users/Ulano4ka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ulano4ka/subscriptions","organizations_url":"https://api.github.com/users/Ulano4ka/orgs","repos_url":"https://api.github.com/users/Ulano4ka/repos","events_url":"https://api.github.com/users/Ulano4ka/events{/privacy}","received_events_url":"https://api.github.com/users/Ulano4ka/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Ulano4ka/rtf-lab-1","description":null,"fork":true,"url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1","forks_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/forks","keys_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/teams","hooks_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/hooks","issue_events_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/issues/events{/number}","events_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/events","assignees_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/assignees{/user}","branches_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/branches{/branch}","tags_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/tags","blobs_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/statuses/{sha}","languages_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/languages","stargazers_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/stargazers","contributors_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/contributors","subscribers_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/subscribers","subscription_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/subscription","commits_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/contents/{+path}","compare_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/merges","archive_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/downloads","issues_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/issues{/number}","pulls_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/pulls{/number}","milestones_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/milestones{/number}","notifications_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/labels{/name}","releases_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/releases{/id}","deployments_url":"https://api.github.com/repos/Ulano4ka/rtf-lab-1/deployments","created_at":"2019-10-07T11:35:56Z","updated_at":"2019-10-07T11:35:57Z","pushed_at":"2019-10-10T12:51:52Z","git_url":"git://github.com/Ulano4ka/rtf-lab-1.git","ssh_url":"git@github.com:Ulano4ka/rtf-lab-1.git","clone_url":"https://github.com/Ulano4ka/rtf-lab-1.git","svn_url":"https://github.com/Ulano4ka/rtf-lab-1","homepage":null,"size":5,"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,"disabled":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":"frontend-tinkoff-ekb:master","ref":"master","sha":"055d4eb7f5a0a97ff33016a4444f38d064060ae0","user":{"login":"frontend-tinkoff-ekb","id":55270521,"node_id":"MDQ6VXNlcjU1MjcwNTIx","avatar_url":"https://avatars2.githubusercontent.com/u/55270521?v=4","gravatar_id":"","url":"https://api.github.com/users/frontend-tinkoff-ekb","html_url":"https://github.com/frontend-tinkoff-ekb","followers_url":"https://api.github.com/users/frontend-tinkoff-ekb/followers","following_url":"https://api.github.com/users/frontend-tinkoff-ekb/following{/other_user}","gists_url":"https://api.github.com/users/frontend-tinkoff-ekb/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-tinkoff-ekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-tinkoff-ekb/subscriptions","organizations_url":"https://api.github.com/users/frontend-tinkoff-ekb/orgs","repos_url":"https://api.github.com/users/frontend-tinkoff-ekb/repos","events_url":"https://api.github.com/users/frontend-tinkoff-ekb/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-tinkoff-ekb/received_events","type":"User","site_admin":false},"repo":{"id":212088967,"node_id":"MDEwOlJlcG9zaXRvcnkyMTIwODg5Njc=","name":"rtf-lab-1","full_name":"frontend-tinkoff-ekb/rtf-lab-1","private":false,"owner":{"login":"frontend-tinkoff-ekb","id":55270521,"node_id":"MDQ6VXNlcjU1MjcwNTIx","avatar_url":"https://avatars2.githubusercontent.com/u/55270521?v=4","gravatar_id":"","url":"https://api.github.com/users/frontend-tinkoff-ekb","html_url":"https://github.com/frontend-tinkoff-ekb","followers_url":"https://api.github.com/users/frontend-tinkoff-ekb/followers","following_url":"https://api.github.com/users/frontend-tinkoff-ekb/following{/other_user}","gists_url":"https://api.github.com/users/frontend-tinkoff-ekb/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-tinkoff-ekb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-tinkoff-ekb/subscriptions","organizations_url":"https://api.github.com/users/frontend-tinkoff-ekb/orgs","repos_url":"https://api.github.com/users/frontend-tinkoff-ekb/repos","events_url":"https://api.github.com/users/frontend-tinkoff-ekb/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-tinkoff-ekb/received_events","type":"User","site_admin":false},"html_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1","description":null,"fork":false,"url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1","forks_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/forks","keys_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/teams","hooks_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/hooks","issue_events_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues/events{/number}","events_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/events","assignees_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/assignees{/user}","branches_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/branches{/branch}","tags_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/tags","blobs_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/statuses/{sha}","languages_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/languages","stargazers_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/stargazers","contributors_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/contributors","subscribers_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/subscribers","subscription_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/subscription","commits_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/contents/{+path}","compare_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/merges","archive_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/downloads","issues_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues{/number}","pulls_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls{/number}","milestones_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/milestones{/number}","notifications_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/labels{/name}","releases_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/releases{/id}","deployments_url":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/deployments","created_at":"2019-10-01T12:21:15Z","updated_at":"2019-10-07T14:17:18Z","pushed_at":"2019-10-10T14:41:23Z","git_url":"git://github.com/frontend-tinkoff-ekb/rtf-lab-1.git","ssh_url":"git@github.com:frontend-tinkoff-ekb/rtf-lab-1.git","clone_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1.git","svn_url":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18"},"html":{"href":"https://github.com/frontend-tinkoff-ekb/rtf-lab-1/pull/18"},"issue":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues/18"},"comments":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/frontend-tinkoff-ekb/rtf-lab-1/statuses/8170457bd66358129eb4cc178ef817eda2f17d28"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"AlexNg9"}}