{"action":"created","comment":{"url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/comments/290040384","pull_request_review_id":245127354,"id":290040384,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5MDA0MDM4NA==","diff_hunk":"@@ -0,0 +1,21 @@\n+function daysInMonth(month, year) {\n+  let isInt = () => [...arguments].every(i => Number.isInteger(i));\n+  try {\n+\n+    if (isInt() && month < 12 && month > 0) {\n+      console.log(new Date(year, month, 0).getDate())\n+      return;","path":"main.js","position":7,"original_position":7,"commit_id":"ff3ad2f8e94c141a4083faec75c5e9cfa2d302e4","original_commit_id":"ff3ad2f8e94c141a4083faec75c5e9cfa2d302e4","user":{"login":"nicholas38466","id":26226448,"node_id":"MDQ6VXNlcjI2MjI2NDQ4","avatar_url":"https://avatars0.githubusercontent.com/u/26226448?v=4","gravatar_id":"","url":"https://api.github.com/users/nicholas38466","html_url":"https://github.com/nicholas38466","followers_url":"https://api.github.com/users/nicholas38466/followers","following_url":"https://api.github.com/users/nicholas38466/following{/other_user}","gists_url":"https://api.github.com/users/nicholas38466/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholas38466/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholas38466/subscriptions","organizations_url":"https://api.github.com/users/nicholas38466/orgs","repos_url":"https://api.github.com/users/nicholas38466/repos","events_url":"https://api.github.com/users/nicholas38466/events{/privacy}","received_events_url":"https://api.github.com/users/nicholas38466/received_events","type":"User","site_admin":false},"body":"return console.log(.....)","created_at":"2019-06-03T21:12:37Z","updated_at":"2019-06-03T21:13:25Z","html_url":"https://github.com/mate-academy/js_days-in-month/pull/11#discussion_r290040384","pull_request_url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/comments/290040384"},"html":{"href":"https://github.com/mate-academy/js_days-in-month/pull/11#discussion_r290040384"},"pull_request":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11","id":284267012,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg0MjY3MDEy","html_url":"https://github.com/mate-academy/js_days-in-month/pull/11","diff_url":"https://github.com/mate-academy/js_days-in-month/pull/11.diff","patch_url":"https://github.com/mate-academy/js_days-in-month/pull/11.patch","issue_url":"https://api.github.com/repos/mate-academy/js_days-in-month/issues/11","number":11,"state":"open","locked":false,"title":"'Days_in_Month'","user":{"login":"StasGostev","id":29689532,"node_id":"MDQ6VXNlcjI5Njg5NTMy","avatar_url":"https://avatars3.githubusercontent.com/u/29689532?v=4","gravatar_id":"","url":"https://api.github.com/users/StasGostev","html_url":"https://github.com/StasGostev","followers_url":"https://api.github.com/users/StasGostev/followers","following_url":"https://api.github.com/users/StasGostev/following{/other_user}","gists_url":"https://api.github.com/users/StasGostev/gists{/gist_id}","starred_url":"https://api.github.com/users/StasGostev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StasGostev/subscriptions","organizations_url":"https://api.github.com/users/StasGostev/orgs","repos_url":"https://api.github.com/users/StasGostev/repos","events_url":"https://api.github.com/users/StasGostev/events{/privacy}","received_events_url":"https://api.github.com/users/StasGostev/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-06-01T12:11:19Z","updated_at":"2019-06-03T21:13:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7ac9bdce61f7b99405453116908a4bb4066bbc2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11/commits","review_comments_url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11/comments","review_comment_url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mate-academy/js_days-in-month/issues/11/comments","statuses_url":"https://api.github.com/repos/mate-academy/js_days-in-month/statuses/ff3ad2f8e94c141a4083faec75c5e9cfa2d302e4","head":{"label":"StasGostev:fs_apr19_stas","ref":"fs_apr19_stas","sha":"ff3ad2f8e94c141a4083faec75c5e9cfa2d302e4","user":{"login":"StasGostev","id":29689532,"node_id":"MDQ6VXNlcjI5Njg5NTMy","avatar_url":"https://avatars3.githubusercontent.com/u/29689532?v=4","gravatar_id":"","url":"https://api.github.com/users/StasGostev","html_url":"https://github.com/StasGostev","followers_url":"https://api.github.com/users/StasGostev/followers","following_url":"https://api.github.com/users/StasGostev/following{/other_user}","gists_url":"https://api.github.com/users/StasGostev/gists{/gist_id}","starred_url":"https://api.github.com/users/StasGostev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StasGostev/subscriptions","organizations_url":"https://api.github.com/users/StasGostev/orgs","repos_url":"https://api.github.com/users/StasGostev/repos","events_url":"https://api.github.com/users/StasGostev/events{/privacy}","received_events_url":"https://api.github.com/users/StasGostev/received_events","type":"User","site_admin":false},"repo":{"id":189647420,"node_id":"MDEwOlJlcG9zaXRvcnkxODk2NDc0MjA=","name":"js_days-in-month","full_name":"StasGostev/js_days-in-month","private":false,"owner":{"login":"StasGostev","id":29689532,"node_id":"MDQ6VXNlcjI5Njg5NTMy","avatar_url":"https://avatars3.githubusercontent.com/u/29689532?v=4","gravatar_id":"","url":"https://api.github.com/users/StasGostev","html_url":"https://github.com/StasGostev","followers_url":"https://api.github.com/users/StasGostev/followers","following_url":"https://api.github.com/users/StasGostev/following{/other_user}","gists_url":"https://api.github.com/users/StasGostev/gists{/gist_id}","starred_url":"https://api.github.com/users/StasGostev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StasGostev/subscriptions","organizations_url":"https://api.github.com/users/StasGostev/orgs","repos_url":"https://api.github.com/users/StasGostev/repos","events_url":"https://api.github.com/users/StasGostev/events{/privacy}","received_events_url":"https://api.github.com/users/StasGostev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/StasGostev/js_days-in-month","description":null,"fork":true,"url":"https://api.github.com/repos/StasGostev/js_days-in-month","forks_url":"https://api.github.com/repos/StasGostev/js_days-in-month/forks","keys_url":"https://api.github.com/repos/StasGostev/js_days-in-month/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StasGostev/js_days-in-month/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StasGostev/js_days-in-month/teams","hooks_url":"https://api.github.com/repos/StasGostev/js_days-in-month/hooks","issue_events_url":"https://api.github.com/repos/StasGostev/js_days-in-month/issues/events{/number}","events_url":"https://api.github.com/repos/StasGostev/js_days-in-month/events","assignees_url":"https://api.github.com/repos/StasGostev/js_days-in-month/assignees{/user}","branches_url":"https://api.github.com/repos/StasGostev/js_days-in-month/branches{/branch}","tags_url":"https://api.github.com/repos/StasGostev/js_days-in-month/tags","blobs_url":"https://api.github.com/repos/StasGostev/js_days-in-month/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StasGostev/js_days-in-month/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StasGostev/js_days-in-month/git/refs{/sha}","trees_url":"https://api.github.com/repos/StasGostev/js_days-in-month/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StasGostev/js_days-in-month/statuses/{sha}","languages_url":"https://api.github.com/repos/StasGostev/js_days-in-month/languages","stargazers_url":"https://api.github.com/repos/StasGostev/js_days-in-month/stargazers","contributors_url":"https://api.github.com/repos/StasGostev/js_days-in-month/contributors","subscribers_url":"https://api.github.com/repos/StasGostev/js_days-in-month/subscribers","subscription_url":"https://api.github.com/repos/StasGostev/js_days-in-month/subscription","commits_url":"https://api.github.com/repos/StasGostev/js_days-in-month/commits{/sha}","git_commits_url":"https://api.github.com/repos/StasGostev/js_days-in-month/git/commits{/sha}","comments_url":"https://api.github.com/repos/StasGostev/js_days-in-month/comments{/number}","issue_comment_url":"https://api.github.com/repos/StasGostev/js_days-in-month/issues/comments{/number}","contents_url":"https://api.github.com/repos/StasGostev/js_days-in-month/contents/{+path}","compare_url":"https://api.github.com/repos/StasGostev/js_days-in-month/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StasGostev/js_days-in-month/merges","archive_url":"https://api.github.com/repos/StasGostev/js_days-in-month/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StasGostev/js_days-in-month/downloads","issues_url":"https://api.github.com/repos/StasGostev/js_days-in-month/issues{/number}","pulls_url":"https://api.github.com/repos/StasGostev/js_days-in-month/pulls{/number}","milestones_url":"https://api.github.com/repos/StasGostev/js_days-in-month/milestones{/number}","notifications_url":"https://api.github.com/repos/StasGostev/js_days-in-month/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StasGostev/js_days-in-month/labels{/name}","releases_url":"https://api.github.com/repos/StasGostev/js_days-in-month/releases{/id}","deployments_url":"https://api.github.com/repos/StasGostev/js_days-in-month/deployments","created_at":"2019-05-31T19:25:28Z","updated_at":"2019-05-31T19:25:30Z","pushed_at":"2019-06-01T12:12:11Z","git_url":"git://github.com/StasGostev/js_days-in-month.git","ssh_url":"git@github.com:StasGostev/js_days-in-month.git","clone_url":"https://github.com/StasGostev/js_days-in-month.git","svn_url":"https://github.com/StasGostev/js_days-in-month","homepage":null,"size":2,"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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mate-academy:master","ref":"master","sha":"e859847e6ef502fda08741b26993fc2fc2f7ddbe","user":{"login":"mate-academy","id":28379899,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Mzc5ODk5","avatar_url":"https://avatars1.githubusercontent.com/u/28379899?v=4","gravatar_id":"","url":"https://api.github.com/users/mate-academy","html_url":"https://github.com/mate-academy","followers_url":"https://api.github.com/users/mate-academy/followers","following_url":"https://api.github.com/users/mate-academy/following{/other_user}","gists_url":"https://api.github.com/users/mate-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/mate-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mate-academy/subscriptions","organizations_url":"https://api.github.com/users/mate-academy/orgs","repos_url":"https://api.github.com/users/mate-academy/repos","events_url":"https://api.github.com/users/mate-academy/events{/privacy}","received_events_url":"https://api.github.com/users/mate-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":189023953,"node_id":"MDEwOlJlcG9zaXRvcnkxODkwMjM5NTM=","name":"js_days-in-month","full_name":"mate-academy/js_days-in-month","private":false,"owner":{"login":"mate-academy","id":28379899,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Mzc5ODk5","avatar_url":"https://avatars1.githubusercontent.com/u/28379899?v=4","gravatar_id":"","url":"https://api.github.com/users/mate-academy","html_url":"https://github.com/mate-academy","followers_url":"https://api.github.com/users/mate-academy/followers","following_url":"https://api.github.com/users/mate-academy/following{/other_user}","gists_url":"https://api.github.com/users/mate-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/mate-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mate-academy/subscriptions","organizations_url":"https://api.github.com/users/mate-academy/orgs","repos_url":"https://api.github.com/users/mate-academy/repos","events_url":"https://api.github.com/users/mate-academy/events{/privacy}","received_events_url":"https://api.github.com/users/mate-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mate-academy/js_days-in-month","description":null,"fork":false,"url":"https://api.github.com/repos/mate-academy/js_days-in-month","forks_url":"https://api.github.com/repos/mate-academy/js_days-in-month/forks","keys_url":"https://api.github.com/repos/mate-academy/js_days-in-month/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mate-academy/js_days-in-month/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mate-academy/js_days-in-month/teams","hooks_url":"https://api.github.com/repos/mate-academy/js_days-in-month/hooks","issue_events_url":"https://api.github.com/repos/mate-academy/js_days-in-month/issues/events{/number}","events_url":"https://api.github.com/repos/mate-academy/js_days-in-month/events","assignees_url":"https://api.github.com/repos/mate-academy/js_days-in-month/assignees{/user}","branches_url":"https://api.github.com/repos/mate-academy/js_days-in-month/branches{/branch}","tags_url":"https://api.github.com/repos/mate-academy/js_days-in-month/tags","blobs_url":"https://api.github.com/repos/mate-academy/js_days-in-month/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mate-academy/js_days-in-month/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mate-academy/js_days-in-month/git/refs{/sha}","trees_url":"https://api.github.com/repos/mate-academy/js_days-in-month/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mate-academy/js_days-in-month/statuses/{sha}","languages_url":"https://api.github.com/repos/mate-academy/js_days-in-month/languages","stargazers_url":"https://api.github.com/repos/mate-academy/js_days-in-month/stargazers","contributors_url":"https://api.github.com/repos/mate-academy/js_days-in-month/contributors","subscribers_url":"https://api.github.com/repos/mate-academy/js_days-in-month/subscribers","subscription_url":"https://api.github.com/repos/mate-academy/js_days-in-month/subscription","commits_url":"https://api.github.com/repos/mate-academy/js_days-in-month/commits{/sha}","git_commits_url":"https://api.github.com/repos/mate-academy/js_days-in-month/git/commits{/sha}","comments_url":"https://api.github.com/repos/mate-academy/js_days-in-month/comments{/number}","issue_comment_url":"https://api.github.com/repos/mate-academy/js_days-in-month/issues/comments{/number}","contents_url":"https://api.github.com/repos/mate-academy/js_days-in-month/contents/{+path}","compare_url":"https://api.github.com/repos/mate-academy/js_days-in-month/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mate-academy/js_days-in-month/merges","archive_url":"https://api.github.com/repos/mate-academy/js_days-in-month/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mate-academy/js_days-in-month/downloads","issues_url":"https://api.github.com/repos/mate-academy/js_days-in-month/issues{/number}","pulls_url":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls{/number}","milestones_url":"https://api.github.com/repos/mate-academy/js_days-in-month/milestones{/number}","notifications_url":"https://api.github.com/repos/mate-academy/js_days-in-month/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mate-academy/js_days-in-month/labels{/name}","releases_url":"https://api.github.com/repos/mate-academy/js_days-in-month/releases{/id}","deployments_url":"https://api.github.com/repos/mate-academy/js_days-in-month/deployments","created_at":"2019-05-28T12:28:06Z","updated_at":"2019-05-28T12:28:23Z","pushed_at":"2019-06-03T19:15:34Z","git_url":"git://github.com/mate-academy/js_days-in-month.git","ssh_url":"git@github.com:mate-academy/js_days-in-month.git","clone_url":"https://github.com/mate-academy/js_days-in-month.git","svn_url":"https://github.com/mate-academy/js_days-in-month","homepage":null,"size":1,"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":26,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":25,"license":null,"forks":26,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11"},"html":{"href":"https://github.com/mate-academy/js_days-in-month/pull/11"},"issue":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/issues/11"},"comments":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/mate-academy/js_days-in-month/statuses/ff3ad2f8e94c141a4083faec75c5e9cfa2d302e4"}},"author_association":"NONE"}}
{"actor":{"display_login":"nicholas38466"}}