{"action":"created","comment":{"url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/comments/177165766","pull_request_review_id":106991940,"id":177165766,"diff_hunk":"@@ -19,11 +27,27 @@ const counter = () => {\n   // Example: const newCounter = counter();\n   // newCounter(); // 1\n   // newCounter(); // 2\n+  let count = 0;\n+  function increment() {\n+    ++count;\n+    return count;","path":"src/challenges.js","position":27,"original_position":27,"commit_id":"69976cde2aef0d0e2ed9812fd4b5326a18d1c6c4","original_commit_id":"69976cde2aef0d0e2ed9812fd4b5326a18d1c6c4","user":{"login":"kiadorii","id":31292683,"avatar_url":"https://avatars0.githubusercontent.com/u/31292683?v=4","gravatar_id":"","url":"https://api.github.com/users/kiadorii","html_url":"https://github.com/kiadorii","followers_url":"https://api.github.com/users/kiadorii/followers","following_url":"https://api.github.com/users/kiadorii/following{/other_user}","gists_url":"https://api.github.com/users/kiadorii/gists{/gist_id}","starred_url":"https://api.github.com/users/kiadorii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiadorii/subscriptions","organizations_url":"https://api.github.com/users/kiadorii/orgs","repos_url":"https://api.github.com/users/kiadorii/repos","events_url":"https://api.github.com/users/kiadorii/events{/privacy}","received_events_url":"https://api.github.com/users/kiadorii/received_events","type":"User","site_admin":false},"body":"You can make this into a one-liner and just return ++count!","created_at":"2018-03-26T17:06:43Z","updated_at":"2018-03-26T17:10:48Z","html_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript/pull/219#discussion_r177165766","pull_request_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/comments/177165766"},"html":{"href":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript/pull/219#discussion_r177165766"},"pull_request":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219"}}},"pull_request":{"url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219","id":177140860,"html_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript/pull/219","diff_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript/pull/219.diff","patch_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript/pull/219.patch","issue_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues/219","number":219,"state":"open","locked":false,"title":"Lukasz Busk JS Sprint","user":{"login":"Velsu","id":7050203,"avatar_url":"https://avatars2.githubusercontent.com/u/7050203?v=4","gravatar_id":"","url":"https://api.github.com/users/Velsu","html_url":"https://github.com/Velsu","followers_url":"https://api.github.com/users/Velsu/followers","following_url":"https://api.github.com/users/Velsu/following{/other_user}","gists_url":"https://api.github.com/users/Velsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Velsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Velsu/subscriptions","organizations_url":"https://api.github.com/users/Velsu/orgs","repos_url":"https://api.github.com/users/Velsu/repos","events_url":"https://api.github.com/users/Velsu/events{/privacy}","received_events_url":"https://api.github.com/users/Velsu/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-23T17:44:44Z","updated_at":"2018-03-26T17:10:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d04bf104405caee4ce572297d92314a82c90f41f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219/commits","review_comments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219/comments","review_comment_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues/219/comments","statuses_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/statuses/69976cde2aef0d0e2ed9812fd4b5326a18d1c6c4","head":{"label":"Velsu:master","ref":"master","sha":"69976cde2aef0d0e2ed9812fd4b5326a18d1c6c4","user":{"login":"Velsu","id":7050203,"avatar_url":"https://avatars2.githubusercontent.com/u/7050203?v=4","gravatar_id":"","url":"https://api.github.com/users/Velsu","html_url":"https://github.com/Velsu","followers_url":"https://api.github.com/users/Velsu/followers","following_url":"https://api.github.com/users/Velsu/following{/other_user}","gists_url":"https://api.github.com/users/Velsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Velsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Velsu/subscriptions","organizations_url":"https://api.github.com/users/Velsu/orgs","repos_url":"https://api.github.com/users/Velsu/repos","events_url":"https://api.github.com/users/Velsu/events{/privacy}","received_events_url":"https://api.github.com/users/Velsu/received_events","type":"User","site_admin":false},"repo":{"id":126502661,"name":"Sprint-Challenge--JavaScript","full_name":"Velsu/Sprint-Challenge--JavaScript","owner":{"login":"Velsu","id":7050203,"avatar_url":"https://avatars2.githubusercontent.com/u/7050203?v=4","gravatar_id":"","url":"https://api.github.com/users/Velsu","html_url":"https://github.com/Velsu","followers_url":"https://api.github.com/users/Velsu/followers","following_url":"https://api.github.com/users/Velsu/following{/other_user}","gists_url":"https://api.github.com/users/Velsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Velsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Velsu/subscriptions","organizations_url":"https://api.github.com/users/Velsu/orgs","repos_url":"https://api.github.com/users/Velsu/repos","events_url":"https://api.github.com/users/Velsu/events{/privacy}","received_events_url":"https://api.github.com/users/Velsu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Velsu/Sprint-Challenge--JavaScript","description":null,"fork":true,"url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript","forks_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/forks","keys_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/teams","hooks_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/hooks","issue_events_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/issues/events{/number}","events_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/events","assignees_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/assignees{/user}","branches_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/branches{/branch}","tags_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/tags","blobs_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/statuses/{sha}","languages_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/languages","stargazers_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/stargazers","contributors_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/contributors","subscribers_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/subscribers","subscription_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/subscription","commits_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/contents/{+path}","compare_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/merges","archive_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/downloads","issues_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/issues{/number}","pulls_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/pulls{/number}","milestones_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/milestones{/number}","notifications_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/labels{/name}","releases_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/releases{/id}","deployments_url":"https://api.github.com/repos/Velsu/Sprint-Challenge--JavaScript/deployments","created_at":"2018-03-23T15:15:22Z","updated_at":"2018-03-23T20:04:20Z","pushed_at":"2018-03-23T20:04:19Z","git_url":"git://github.com/Velsu/Sprint-Challenge--JavaScript.git","ssh_url":"git@github.com:Velsu/Sprint-Challenge--JavaScript.git","clone_url":"https://github.com/Velsu/Sprint-Challenge--JavaScript.git","svn_url":"https://github.com/Velsu/Sprint-Challenge--JavaScript","homepage":null,"size":78,"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":"LambdaSchool:master","ref":"master","sha":"48496513ebb9174e49438e34aabc14cbc76896e8","user":{"login":"LambdaSchool","id":24780114,"avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":110197874,"name":"Sprint-Challenge--JavaScript","full_name":"LambdaSchool/Sprint-Challenge--JavaScript","owner":{"login":"LambdaSchool","id":24780114,"avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript","description":null,"fork":false,"url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript","forks_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/forks","keys_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/teams","hooks_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/hooks","issue_events_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues/events{/number}","events_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/events","assignees_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/assignees{/user}","branches_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/branches{/branch}","tags_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/tags","blobs_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/git/refs{/sha}","trees_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/statuses/{sha}","languages_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/languages","stargazers_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/stargazers","contributors_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/contributors","subscribers_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/subscribers","subscription_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/subscription","commits_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/commits{/sha}","git_commits_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/git/commits{/sha}","comments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/comments{/number}","issue_comment_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues/comments{/number}","contents_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/contents/{+path}","compare_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/merges","archive_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/downloads","issues_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues{/number}","pulls_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls{/number}","milestones_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/milestones{/number}","notifications_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/labels{/name}","releases_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/releases{/id}","deployments_url":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/deployments","created_at":"2017-11-10T03:28:17Z","updated_at":"2018-03-23T23:34:12Z","pushed_at":"2018-03-26T17:00:59Z","git_url":"git://github.com/LambdaSchool/Sprint-Challenge--JavaScript.git","ssh_url":"git@github.com:LambdaSchool/Sprint-Challenge--JavaScript.git","clone_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript.git","svn_url":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript","homepage":null,"size":78,"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":263,"mirror_url":null,"archived":false,"open_issues_count":169,"license":null,"forks":263,"open_issues":169,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219"},"html":{"href":"https://github.com/LambdaSchool/Sprint-Challenge--JavaScript/pull/219"},"issue":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues/219"},"comments":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/LambdaSchool/Sprint-Challenge--JavaScript/statuses/69976cde2aef0d0e2ed9812fd4b5326a18d1c6c4"}},"author_association":"NONE"}}
{"actor":{"display_login":"kiadorii"}}