{"action":"created","comment":{"url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/comments/56438974","id":56438974,"diff_hunk":"@@ -5,7 +5,11 @@\n  * @return {Boolean}\n  */\n function sameFirst(a, b) {\n-\n+  if (a[0] ===  b[0]) {\n+    return true;","path":"src/arrays.js","position":6,"original_position":6,"commit_id":"1366ba7381b83d308e012b937b40a02cf97f7d49","original_commit_id":"1366ba7381b83d308e012b937b40a02cf97f7d49","user":{"login":"rtablada","id":2532004,"avatar_url":"https://avatars.githubusercontent.com/u/2532004?v=3","gravatar_id":"","url":"https://api.github.com/users/rtablada","html_url":"https://github.com/rtablada","followers_url":"https://api.github.com/users/rtablada/followers","following_url":"https://api.github.com/users/rtablada/following{/other_user}","gists_url":"https://api.github.com/users/rtablada/gists{/gist_id}","starred_url":"https://api.github.com/users/rtablada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtablada/subscriptions","organizations_url":"https://api.github.com/users/rtablada/orgs","repos_url":"https://api.github.com/users/rtablada/repos","events_url":"https://api.github.com/users/rtablada/events{/privacy}","received_events_url":"https://api.github.com/users/rtablada/received_events","type":"User","site_admin":false},"body":"`return`ing true after checing that the statement `a[0] === b[0]` is redundant. You can save code and headaches down the road by just returning the conditional.","created_at":"2016-03-17T00:23:22Z","updated_at":"2016-03-17T00:23:22Z","html_url":"https://github.com/jfuqua390/08-functions-tdd/pull/1#discussion_r56438974","pull_request_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/comments/56438974"},"html":{"href":"https://github.com/jfuqua390/08-functions-tdd/pull/1#discussion_r56438974"},"pull_request":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1","id":62817580,"html_url":"https://github.com/jfuqua390/08-functions-tdd/pull/1","diff_url":"https://github.com/jfuqua390/08-functions-tdd/pull/1.diff","patch_url":"https://github.com/jfuqua390/08-functions-tdd/pull/1.patch","issue_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/1","number":1,"state":"open","locked":false,"title":"Turning in HW","user":{"login":"jfuqua390","id":17504129,"avatar_url":"https://avatars.githubusercontent.com/u/17504129?v=3","gravatar_id":"","url":"https://api.github.com/users/jfuqua390","html_url":"https://github.com/jfuqua390","followers_url":"https://api.github.com/users/jfuqua390/followers","following_url":"https://api.github.com/users/jfuqua390/following{/other_user}","gists_url":"https://api.github.com/users/jfuqua390/gists{/gist_id}","starred_url":"https://api.github.com/users/jfuqua390/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfuqua390/subscriptions","organizations_url":"https://api.github.com/users/jfuqua390/orgs","repos_url":"https://api.github.com/users/jfuqua390/repos","events_url":"https://api.github.com/users/jfuqua390/events{/privacy}","received_events_url":"https://api.github.com/users/jfuqua390/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-03-14T21:08:24Z","updated_at":"2016-03-17T00:23:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3118e6c8b2c574b7bce807c2277f7160243147f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/1/comments","statuses_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/statuses/1366ba7381b83d308e012b937b40a02cf97f7d49","head":{"label":"jfuqua390:develop","ref":"develop","sha":"1366ba7381b83d308e012b937b40a02cf97f7d49","user":{"login":"jfuqua390","id":17504129,"avatar_url":"https://avatars.githubusercontent.com/u/17504129?v=3","gravatar_id":"","url":"https://api.github.com/users/jfuqua390","html_url":"https://github.com/jfuqua390","followers_url":"https://api.github.com/users/jfuqua390/followers","following_url":"https://api.github.com/users/jfuqua390/following{/other_user}","gists_url":"https://api.github.com/users/jfuqua390/gists{/gist_id}","starred_url":"https://api.github.com/users/jfuqua390/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfuqua390/subscriptions","organizations_url":"https://api.github.com/users/jfuqua390/orgs","repos_url":"https://api.github.com/users/jfuqua390/repos","events_url":"https://api.github.com/users/jfuqua390/events{/privacy}","received_events_url":"https://api.github.com/users/jfuqua390/received_events","type":"User","site_admin":false},"repo":{"id":53882804,"name":"08-functions-tdd","full_name":"jfuqua390/08-functions-tdd","owner":{"login":"jfuqua390","id":17504129,"avatar_url":"https://avatars.githubusercontent.com/u/17504129?v=3","gravatar_id":"","url":"https://api.github.com/users/jfuqua390","html_url":"https://github.com/jfuqua390","followers_url":"https://api.github.com/users/jfuqua390/followers","following_url":"https://api.github.com/users/jfuqua390/following{/other_user}","gists_url":"https://api.github.com/users/jfuqua390/gists{/gist_id}","starred_url":"https://api.github.com/users/jfuqua390/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfuqua390/subscriptions","organizations_url":"https://api.github.com/users/jfuqua390/orgs","repos_url":"https://api.github.com/users/jfuqua390/repos","events_url":"https://api.github.com/users/jfuqua390/events{/privacy}","received_events_url":"https://api.github.com/users/jfuqua390/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfuqua390/08-functions-tdd","description":null,"fork":true,"url":"https://api.github.com/repos/jfuqua390/08-functions-tdd","forks_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/forks","keys_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/teams","hooks_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/hooks","issue_events_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/events{/number}","events_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/events","assignees_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/assignees{/user}","branches_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/branches{/branch}","tags_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/tags","blobs_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/statuses/{sha}","languages_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/languages","stargazers_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/stargazers","contributors_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/contributors","subscribers_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/subscribers","subscription_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/subscription","commits_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/contents/{+path}","compare_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/merges","archive_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/downloads","issues_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues{/number}","pulls_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls{/number}","milestones_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/milestones{/number}","notifications_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/labels{/name}","releases_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/releases{/id}","deployments_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/deployments","created_at":"2016-03-14T18:48:28Z","updated_at":"2016-03-14T18:48:29Z","pushed_at":"2016-03-14T21:08:25Z","git_url":"git://github.com/jfuqua390/08-functions-tdd.git","ssh_url":"git@github.com:jfuqua390/08-functions-tdd.git","clone_url":"https://github.com/jfuqua390/08-functions-tdd.git","svn_url":"https://github.com/jfuqua390/08-functions-tdd","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jfuqua390:master","ref":"master","sha":"8af5d6c6dc4ca1dff3c64d97ad8b797dabdfff3f","user":{"login":"jfuqua390","id":17504129,"avatar_url":"https://avatars.githubusercontent.com/u/17504129?v=3","gravatar_id":"","url":"https://api.github.com/users/jfuqua390","html_url":"https://github.com/jfuqua390","followers_url":"https://api.github.com/users/jfuqua390/followers","following_url":"https://api.github.com/users/jfuqua390/following{/other_user}","gists_url":"https://api.github.com/users/jfuqua390/gists{/gist_id}","starred_url":"https://api.github.com/users/jfuqua390/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfuqua390/subscriptions","organizations_url":"https://api.github.com/users/jfuqua390/orgs","repos_url":"https://api.github.com/users/jfuqua390/repos","events_url":"https://api.github.com/users/jfuqua390/events{/privacy}","received_events_url":"https://api.github.com/users/jfuqua390/received_events","type":"User","site_admin":false},"repo":{"id":53882804,"name":"08-functions-tdd","full_name":"jfuqua390/08-functions-tdd","owner":{"login":"jfuqua390","id":17504129,"avatar_url":"https://avatars.githubusercontent.com/u/17504129?v=3","gravatar_id":"","url":"https://api.github.com/users/jfuqua390","html_url":"https://github.com/jfuqua390","followers_url":"https://api.github.com/users/jfuqua390/followers","following_url":"https://api.github.com/users/jfuqua390/following{/other_user}","gists_url":"https://api.github.com/users/jfuqua390/gists{/gist_id}","starred_url":"https://api.github.com/users/jfuqua390/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfuqua390/subscriptions","organizations_url":"https://api.github.com/users/jfuqua390/orgs","repos_url":"https://api.github.com/users/jfuqua390/repos","events_url":"https://api.github.com/users/jfuqua390/events{/privacy}","received_events_url":"https://api.github.com/users/jfuqua390/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jfuqua390/08-functions-tdd","description":null,"fork":true,"url":"https://api.github.com/repos/jfuqua390/08-functions-tdd","forks_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/forks","keys_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/teams","hooks_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/hooks","issue_events_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/events{/number}","events_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/events","assignees_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/assignees{/user}","branches_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/branches{/branch}","tags_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/tags","blobs_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/refs{/sha}","trees_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/statuses/{sha}","languages_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/languages","stargazers_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/stargazers","contributors_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/contributors","subscribers_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/subscribers","subscription_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/subscription","commits_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/commits{/sha}","git_commits_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/git/commits{/sha}","comments_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/comments{/number}","issue_comment_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/comments{/number}","contents_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/contents/{+path}","compare_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/merges","archive_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/downloads","issues_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues{/number}","pulls_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls{/number}","milestones_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/milestones{/number}","notifications_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/labels{/name}","releases_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/releases{/id}","deployments_url":"https://api.github.com/repos/jfuqua390/08-functions-tdd/deployments","created_at":"2016-03-14T18:48:28Z","updated_at":"2016-03-14T18:48:29Z","pushed_at":"2016-03-14T21:08:25Z","git_url":"git://github.com/jfuqua390/08-functions-tdd.git","ssh_url":"git@github.com:jfuqua390/08-functions-tdd.git","clone_url":"https://github.com/jfuqua390/08-functions-tdd.git","svn_url":"https://github.com/jfuqua390/08-functions-tdd","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1"},"html":{"href":"https://github.com/jfuqua390/08-functions-tdd/pull/1"},"issue":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/1"},"comments":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jfuqua390/08-functions-tdd/statuses/1366ba7381b83d308e012b937b40a02cf97f7d49"}}}}