{"action":"created","comment":{"url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/comments/223186810","pull_request_review_id":162262120,"id":223186810,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzE4NjgxMA==","diff_hunk":"@@ -0,0 +1,18 @@\n+var sequenceArray = [\"s\", \"m\", \"l\", \"xl\"];\n+var givenArray = [\"s\", \"m\", \"l\", \"xl\", \"s\", \"m\", \"l\", \"xl\"];\n+\n+function sortArr(arr, sortSequence) {\n+  var sortedArray = [];\n+  for (var i = 0; i < sortSequence.length; i++) {\n+    arr.forEach(value => {\n+      if (value === sortSequence[i]) {\n+        sortedArray.push(value);\n+        // console.log(sortedArray);\n+      }\n+    });\n+  }\n+  return sortedArray;\n+}\n+\n+var SortedTshirtsArray = sortArr(givenArray, sequenceArray);","path":"Abhishek/03-10-2018/tshirts.js","position":17,"original_position":17,"commit_id":"4ab5dce2844d87f8ec3ed46787756ff05c61bb50","original_commit_id":"4ab5dce2844d87f8ec3ed46787756ff05c61bb50","user":{"login":"CodingKrishna","id":11484609,"node_id":"MDQ6VXNlcjExNDg0NjA5","avatar_url":"https://avatars0.githubusercontent.com/u/11484609?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingKrishna","html_url":"https://github.com/CodingKrishna","followers_url":"https://api.github.com/users/CodingKrishna/followers","following_url":"https://api.github.com/users/CodingKrishna/following{/other_user}","gists_url":"https://api.github.com/users/CodingKrishna/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingKrishna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingKrishna/subscriptions","organizations_url":"https://api.github.com/users/CodingKrishna/orgs","repos_url":"https://api.github.com/users/CodingKrishna/repos","events_url":"https://api.github.com/users/CodingKrishna/events{/privacy}","received_events_url":"https://api.github.com/users/CodingKrishna/received_events","type":"User","site_admin":false},"body":"plz use camel case while declaring the variables.","created_at":"2018-10-06T16:17:45Z","updated_at":"2018-10-06T16:20:06Z","html_url":"https://github.com/CodingKrishna/regnant-soft/pull/5#discussion_r223186810","pull_request_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/comments/223186810"},"html":{"href":"https://github.com/CodingKrishna/regnant-soft/pull/5#discussion_r223186810"},"pull_request":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5","id":220872781,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwODcyNzgx","html_url":"https://github.com/CodingKrishna/regnant-soft/pull/5","diff_url":"https://github.com/CodingKrishna/regnant-soft/pull/5.diff","patch_url":"https://github.com/CodingKrishna/regnant-soft/pull/5.patch","issue_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues/5","number":5,"state":"open","locked":false,"title":"initial commit","user":{"login":"abhishekudataneni","id":32682756,"node_id":"MDQ6VXNlcjMyNjgyNzU2","avatar_url":"https://avatars2.githubusercontent.com/u/32682756?v=4","gravatar_id":"","url":"https://api.github.com/users/abhishekudataneni","html_url":"https://github.com/abhishekudataneni","followers_url":"https://api.github.com/users/abhishekudataneni/followers","following_url":"https://api.github.com/users/abhishekudataneni/following{/other_user}","gists_url":"https://api.github.com/users/abhishekudataneni/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekudataneni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekudataneni/subscriptions","organizations_url":"https://api.github.com/users/abhishekudataneni/orgs","repos_url":"https://api.github.com/users/abhishekudataneni/repos","events_url":"https://api.github.com/users/abhishekudataneni/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekudataneni/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-06T08:17:08Z","updated_at":"2018-10-06T16:20:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1720be01321040598e58bdd291935e373ac05d32","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5/commits","review_comments_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5/comments","review_comment_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues/5/comments","statuses_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/statuses/4ab5dce2844d87f8ec3ed46787756ff05c61bb50","head":{"label":"abhishekudataneni:master","ref":"master","sha":"4ab5dce2844d87f8ec3ed46787756ff05c61bb50","user":{"login":"abhishekudataneni","id":32682756,"node_id":"MDQ6VXNlcjMyNjgyNzU2","avatar_url":"https://avatars2.githubusercontent.com/u/32682756?v=4","gravatar_id":"","url":"https://api.github.com/users/abhishekudataneni","html_url":"https://github.com/abhishekudataneni","followers_url":"https://api.github.com/users/abhishekudataneni/followers","following_url":"https://api.github.com/users/abhishekudataneni/following{/other_user}","gists_url":"https://api.github.com/users/abhishekudataneni/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekudataneni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekudataneni/subscriptions","organizations_url":"https://api.github.com/users/abhishekudataneni/orgs","repos_url":"https://api.github.com/users/abhishekudataneni/repos","events_url":"https://api.github.com/users/abhishekudataneni/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekudataneni/received_events","type":"User","site_admin":false},"repo":{"id":151398686,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEzOTg2ODY=","name":"regnant-soft","full_name":"abhishekudataneni/regnant-soft","private":false,"owner":{"login":"abhishekudataneni","id":32682756,"node_id":"MDQ6VXNlcjMyNjgyNzU2","avatar_url":"https://avatars2.githubusercontent.com/u/32682756?v=4","gravatar_id":"","url":"https://api.github.com/users/abhishekudataneni","html_url":"https://github.com/abhishekudataneni","followers_url":"https://api.github.com/users/abhishekudataneni/followers","following_url":"https://api.github.com/users/abhishekudataneni/following{/other_user}","gists_url":"https://api.github.com/users/abhishekudataneni/gists{/gist_id}","starred_url":"https://api.github.com/users/abhishekudataneni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhishekudataneni/subscriptions","organizations_url":"https://api.github.com/users/abhishekudataneni/orgs","repos_url":"https://api.github.com/users/abhishekudataneni/repos","events_url":"https://api.github.com/users/abhishekudataneni/events{/privacy}","received_events_url":"https://api.github.com/users/abhishekudataneni/received_events","type":"User","site_admin":false},"html_url":"https://github.com/abhishekudataneni/regnant-soft","description":null,"fork":true,"url":"https://api.github.com/repos/abhishekudataneni/regnant-soft","forks_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/forks","keys_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/teams","hooks_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/hooks","issue_events_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/issues/events{/number}","events_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/events","assignees_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/assignees{/user}","branches_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/branches{/branch}","tags_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/tags","blobs_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/statuses/{sha}","languages_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/languages","stargazers_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/stargazers","contributors_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/contributors","subscribers_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/subscribers","subscription_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/subscription","commits_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/issues/comments{/number}","contents_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/contents/{+path}","compare_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/merges","archive_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/downloads","issues_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/issues{/number}","pulls_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/pulls{/number}","milestones_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/milestones{/number}","notifications_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/labels{/name}","releases_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/releases{/id}","deployments_url":"https://api.github.com/repos/abhishekudataneni/regnant-soft/deployments","created_at":"2018-10-03T10:55:18Z","updated_at":"2018-10-06T08:27:32Z","pushed_at":"2018-10-06T08:27:30Z","git_url":"git://github.com/abhishekudataneni/regnant-soft.git","ssh_url":"git@github.com:abhishekudataneni/regnant-soft.git","clone_url":"https://github.com/abhishekudataneni/regnant-soft.git","svn_url":"https://github.com/abhishekudataneni/regnant-soft","homepage":null,"size":3,"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":"CodingKrishna:master","ref":"master","sha":"ee173037078970252b8bc204b1894a3941ce0c09","user":{"login":"CodingKrishna","id":11484609,"node_id":"MDQ6VXNlcjExNDg0NjA5","avatar_url":"https://avatars0.githubusercontent.com/u/11484609?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingKrishna","html_url":"https://github.com/CodingKrishna","followers_url":"https://api.github.com/users/CodingKrishna/followers","following_url":"https://api.github.com/users/CodingKrishna/following{/other_user}","gists_url":"https://api.github.com/users/CodingKrishna/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingKrishna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingKrishna/subscriptions","organizations_url":"https://api.github.com/users/CodingKrishna/orgs","repos_url":"https://api.github.com/users/CodingKrishna/repos","events_url":"https://api.github.com/users/CodingKrishna/events{/privacy}","received_events_url":"https://api.github.com/users/CodingKrishna/received_events","type":"User","site_admin":false},"repo":{"id":151354836,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEzNTQ4MzY=","name":"regnant-soft","full_name":"CodingKrishna/regnant-soft","private":false,"owner":{"login":"CodingKrishna","id":11484609,"node_id":"MDQ6VXNlcjExNDg0NjA5","avatar_url":"https://avatars0.githubusercontent.com/u/11484609?v=4","gravatar_id":"","url":"https://api.github.com/users/CodingKrishna","html_url":"https://github.com/CodingKrishna","followers_url":"https://api.github.com/users/CodingKrishna/followers","following_url":"https://api.github.com/users/CodingKrishna/following{/other_user}","gists_url":"https://api.github.com/users/CodingKrishna/gists{/gist_id}","starred_url":"https://api.github.com/users/CodingKrishna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodingKrishna/subscriptions","organizations_url":"https://api.github.com/users/CodingKrishna/orgs","repos_url":"https://api.github.com/users/CodingKrishna/repos","events_url":"https://api.github.com/users/CodingKrishna/events{/privacy}","received_events_url":"https://api.github.com/users/CodingKrishna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/CodingKrishna/regnant-soft","description":null,"fork":false,"url":"https://api.github.com/repos/CodingKrishna/regnant-soft","forks_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/forks","keys_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/teams","hooks_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/hooks","issue_events_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues/events{/number}","events_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/events","assignees_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/assignees{/user}","branches_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/branches{/branch}","tags_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/tags","blobs_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/statuses/{sha}","languages_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/languages","stargazers_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/stargazers","contributors_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/contributors","subscribers_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/subscribers","subscription_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/subscription","commits_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/contents/{+path}","compare_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/merges","archive_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/downloads","issues_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues{/number}","pulls_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls{/number}","milestones_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/milestones{/number}","notifications_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/labels{/name}","releases_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/releases{/id}","deployments_url":"https://api.github.com/repos/CodingKrishna/regnant-soft/deployments","created_at":"2018-10-03T03:14:17Z","updated_at":"2018-10-06T06:57:52Z","pushed_at":"2018-10-06T09:30:39Z","git_url":"git://github.com/CodingKrishna/regnant-soft.git","ssh_url":"git@github.com:CodingKrishna/regnant-soft.git","clone_url":"https://github.com/CodingKrishna/regnant-soft.git","svn_url":"https://github.com/CodingKrishna/regnant-soft","homepage":null,"size":6,"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":10,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":10,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5"},"html":{"href":"https://github.com/CodingKrishna/regnant-soft/pull/5"},"issue":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues/5"},"comments":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/CodingKrishna/regnant-soft/statuses/4ab5dce2844d87f8ec3ed46787756ff05c61bb50"}},"author_association":"NONE"}}
{"actor":{"display_login":"CodingKrishna"}}