{"action":"created","comment":{"url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments/228760480","pull_request_review_id":169104838,"id":228760480,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODc2MDQ4MA==","diff_hunk":"@@ -0,0 +1,7 @@\n+export function findElement(arr, func) {","path":"tasks/67_find-elements/find-elements.js","position":1,"original_position":1,"commit_id":"ae9b654882a4fd86e2ec60560bd2d800f4ddeb56","original_commit_id":"ae9b654882a4fd86e2ec60560bd2d800f4ddeb56","user":{"login":"tarasbobak","id":12515715,"node_id":"MDQ6VXNlcjEyNTE1NzE1","avatar_url":"https://avatars2.githubusercontent.com/u/12515715?v=4","gravatar_id":"","url":"https://api.github.com/users/tarasbobak","html_url":"https://github.com/tarasbobak","followers_url":"https://api.github.com/users/tarasbobak/followers","following_url":"https://api.github.com/users/tarasbobak/following{/other_user}","gists_url":"https://api.github.com/users/tarasbobak/gists{/gist_id}","starred_url":"https://api.github.com/users/tarasbobak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarasbobak/subscriptions","organizations_url":"https://api.github.com/users/tarasbobak/orgs","repos_url":"https://api.github.com/users/tarasbobak/repos","events_url":"https://api.github.com/users/tarasbobak/events{/privacy}","received_events_url":"https://api.github.com/users/tarasbobak/received_events","type":"User","site_admin":false},"body":"Well, this solution is wrong.\r\nYou are hardcoding the logic. But any function could be used to filter out the results.\r\nFor instance such function could be used findElement([1, 3, 5, 8, 9, 10], function(num) { return num > 5; }","created_at":"2018-10-28T19:01:32Z","updated_at":"2018-10-28T19:01:32Z","html_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/76#discussion_r228760480","pull_request_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments/228760480"},"html":{"href":"https://github.com/griddynamics/ui-internship-lwo2/pull/76#discussion_r228760480"},"pull_request":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76","id":226103863,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MTAzODYz","html_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/76","diff_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/76.diff","patch_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/76.patch","issue_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/76","number":76,"state":"open","locked":false,"title":"[Y_Demkiv] Tasks 61-70","user":{"login":"YarynaD","id":25042367,"node_id":"MDQ6VXNlcjI1MDQyMzY3","avatar_url":"https://avatars0.githubusercontent.com/u/25042367?v=4","gravatar_id":"","url":"https://api.github.com/users/YarynaD","html_url":"https://github.com/YarynaD","followers_url":"https://api.github.com/users/YarynaD/followers","following_url":"https://api.github.com/users/YarynaD/following{/other_user}","gists_url":"https://api.github.com/users/YarynaD/gists{/gist_id}","starred_url":"https://api.github.com/users/YarynaD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YarynaD/subscriptions","organizations_url":"https://api.github.com/users/YarynaD/orgs","repos_url":"https://api.github.com/users/YarynaD/repos","events_url":"https://api.github.com/users/YarynaD/events{/privacy}","received_events_url":"https://api.github.com/users/YarynaD/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-26T13:45:24Z","updated_at":"2018-10-28T19:01:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f63e846efbca12ae8de7f1af9c582513d29acc6d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76/commits","review_comments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76/comments","review_comment_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/76/comments","statuses_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/statuses/ae9b654882a4fd86e2ec60560bd2d800f4ddeb56","head":{"label":"YarynaD:tasks_61_70","ref":"tasks_61_70","sha":"ae9b654882a4fd86e2ec60560bd2d800f4ddeb56","user":{"login":"YarynaD","id":25042367,"node_id":"MDQ6VXNlcjI1MDQyMzY3","avatar_url":"https://avatars0.githubusercontent.com/u/25042367?v=4","gravatar_id":"","url":"https://api.github.com/users/YarynaD","html_url":"https://github.com/YarynaD","followers_url":"https://api.github.com/users/YarynaD/followers","following_url":"https://api.github.com/users/YarynaD/following{/other_user}","gists_url":"https://api.github.com/users/YarynaD/gists{/gist_id}","starred_url":"https://api.github.com/users/YarynaD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YarynaD/subscriptions","organizations_url":"https://api.github.com/users/YarynaD/orgs","repos_url":"https://api.github.com/users/YarynaD/repos","events_url":"https://api.github.com/users/YarynaD/events{/privacy}","received_events_url":"https://api.github.com/users/YarynaD/received_events","type":"User","site_admin":false},"repo":{"id":153412179,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM0MTIxNzk=","name":"ui-internship-lwo2","full_name":"YarynaD/ui-internship-lwo2","private":false,"owner":{"login":"YarynaD","id":25042367,"node_id":"MDQ6VXNlcjI1MDQyMzY3","avatar_url":"https://avatars0.githubusercontent.com/u/25042367?v=4","gravatar_id":"","url":"https://api.github.com/users/YarynaD","html_url":"https://github.com/YarynaD","followers_url":"https://api.github.com/users/YarynaD/followers","following_url":"https://api.github.com/users/YarynaD/following{/other_user}","gists_url":"https://api.github.com/users/YarynaD/gists{/gist_id}","starred_url":"https://api.github.com/users/YarynaD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YarynaD/subscriptions","organizations_url":"https://api.github.com/users/YarynaD/orgs","repos_url":"https://api.github.com/users/YarynaD/repos","events_url":"https://api.github.com/users/YarynaD/events{/privacy}","received_events_url":"https://api.github.com/users/YarynaD/received_events","type":"User","site_admin":false},"html_url":"https://github.com/YarynaD/ui-internship-lwo2","description":"IT-41965","fork":true,"url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2","forks_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/forks","keys_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/teams","hooks_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/hooks","issue_events_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/issues/events{/number}","events_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/events","assignees_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/assignees{/user}","branches_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/branches{/branch}","tags_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/tags","blobs_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/statuses/{sha}","languages_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/languages","stargazers_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/stargazers","contributors_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/contributors","subscribers_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/subscribers","subscription_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/subscription","commits_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/contents/{+path}","compare_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/merges","archive_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/downloads","issues_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/issues{/number}","pulls_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/pulls{/number}","milestones_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/milestones{/number}","notifications_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/labels{/name}","releases_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/releases{/id}","deployments_url":"https://api.github.com/repos/YarynaD/ui-internship-lwo2/deployments","created_at":"2018-10-17T07:14:34Z","updated_at":"2018-10-26T13:49:16Z","pushed_at":"2018-10-26T13:49:15Z","git_url":"git://github.com/YarynaD/ui-internship-lwo2.git","ssh_url":"git@github.com:YarynaD/ui-internship-lwo2.git","clone_url":"https://github.com/YarynaD/ui-internship-lwo2.git","svn_url":"https://github.com/YarynaD/ui-internship-lwo2","homepage":null,"size":192,"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":"griddynamics:yaryna-demkiv","ref":"yaryna-demkiv","sha":"65b88d097b51ea759a12e5ca532e1b15d3f49b55","user":{"login":"griddynamics","id":54911,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTEx","avatar_url":"https://avatars1.githubusercontent.com/u/54911?v=4","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":152431415,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MzE0MTU=","name":"ui-internship-lwo2","full_name":"griddynamics/ui-internship-lwo2","private":false,"owner":{"login":"griddynamics","id":54911,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTEx","avatar_url":"https://avatars1.githubusercontent.com/u/54911?v=4","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/griddynamics/ui-internship-lwo2","description":"IT-41965","fork":false,"url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2","forks_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/forks","keys_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/teams","hooks_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/hooks","issue_events_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/events{/number}","events_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/events","assignees_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/assignees{/user}","branches_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/branches{/branch}","tags_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/tags","blobs_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/statuses/{sha}","languages_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/languages","stargazers_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/stargazers","contributors_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/contributors","subscribers_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/subscribers","subscription_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/subscription","commits_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/contents/{+path}","compare_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/merges","archive_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/downloads","issues_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues{/number}","pulls_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls{/number}","milestones_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/milestones{/number}","notifications_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/labels{/name}","releases_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/releases{/id}","deployments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/deployments","created_at":"2018-10-10T13:50:50Z","updated_at":"2018-10-26T11:44:15Z","pushed_at":"2018-10-28T15:00:31Z","git_url":"git://github.com/griddynamics/ui-internship-lwo2.git","ssh_url":"git@github.com:griddynamics/ui-internship-lwo2.git","clone_url":"https://github.com/griddynamics/ui-internship-lwo2.git","svn_url":"https://github.com/griddynamics/ui-internship-lwo2","homepage":null,"size":584,"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":22,"license":null,"forks":10,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76"},"html":{"href":"https://github.com/griddynamics/ui-internship-lwo2/pull/76"},"issue":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/76"},"comments":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/statuses/ae9b654882a4fd86e2ec60560bd2d800f4ddeb56"}},"author_association":"NONE"}}
{"actor":{"display_login":"tarasbobak"}}