{"action":"opened","number":896,"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/896","id":79201665,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/896","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/896.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/896.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/896","number":896,"state":"open","locked":false,"title":"Challenge 24","user":{"login":"clarabatt","id":6672198,"avatar_url":"https://avatars.githubusercontent.com/u/6672198?v=3","gravatar_id":"","url":"https://api.github.com/users/clarabatt","html_url":"https://github.com/clarabatt","followers_url":"https://api.github.com/users/clarabatt/followers","following_url":"https://api.github.com/users/clarabatt/following{/other_user}","gists_url":"https://api.github.com/users/clarabatt/gists{/gist_id}","starred_url":"https://api.github.com/users/clarabatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarabatt/subscriptions","organizations_url":"https://api.github.com/users/clarabatt/orgs","repos_url":"https://api.github.com/users/clarabatt/repos","events_url":"https://api.github.com/users/clarabatt/events{/privacy}","received_events_url":"https://api.github.com/users/clarabatt/received_events","type":"User","site_admin":false},"body":"@fdaciuk no caso da otimização dos operadores, não seria melhor manter como formato de array e //, no caso da regexp, pela legibilidade ou até de desempenho? Já que seria um loop a menos pra fazer.\r\n\r\nEu fiz o exercício em cima do meu código que ficou um pouquinho diferente do seu.\r\nNem dá pra imaginar que dá pra refatorar tanta coisa. :scream: \r\n","created_at":"2016-07-28T14:05:12Z","updated_at":"2016-07-28T14:05:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/896/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/896/comments","review_comment_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments{/number}","comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/896/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/5f7c5d9274bb7427f9978aa8785dae42c8513b5b","head":{"label":"clarabatt:challenge-24","ref":"challenge-24","sha":"5f7c5d9274bb7427f9978aa8785dae42c8513b5b","user":{"login":"clarabatt","id":6672198,"avatar_url":"https://avatars.githubusercontent.com/u/6672198?v=3","gravatar_id":"","url":"https://api.github.com/users/clarabatt","html_url":"https://github.com/clarabatt","followers_url":"https://api.github.com/users/clarabatt/followers","following_url":"https://api.github.com/users/clarabatt/following{/other_user}","gists_url":"https://api.github.com/users/clarabatt/gists{/gist_id}","starred_url":"https://api.github.com/users/clarabatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarabatt/subscriptions","organizations_url":"https://api.github.com/users/clarabatt/orgs","repos_url":"https://api.github.com/users/clarabatt/repos","events_url":"https://api.github.com/users/clarabatt/events{/privacy}","received_events_url":"https://api.github.com/users/clarabatt/received_events","type":"User","site_admin":false},"repo":{"id":39773695,"name":"curso-javascript-ninja","full_name":"clarabatt/curso-javascript-ninja","owner":{"login":"clarabatt","id":6672198,"avatar_url":"https://avatars.githubusercontent.com/u/6672198?v=3","gravatar_id":"","url":"https://api.github.com/users/clarabatt","html_url":"https://github.com/clarabatt","followers_url":"https://api.github.com/users/clarabatt/followers","following_url":"https://api.github.com/users/clarabatt/following{/other_user}","gists_url":"https://api.github.com/users/clarabatt/gists{/gist_id}","starred_url":"https://api.github.com/users/clarabatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarabatt/subscriptions","organizations_url":"https://api.github.com/users/clarabatt/orgs","repos_url":"https://api.github.com/users/clarabatt/repos","events_url":"https://api.github.com/users/clarabatt/events{/privacy}","received_events_url":"https://api.github.com/users/clarabatt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clarabatt/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja","forks_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/releases{/id}","deployments_url":"https://api.github.com/repos/clarabatt/curso-javascript-ninja/deployments","created_at":"2015-07-27T12:39:43Z","updated_at":"2015-07-27T12:39:43Z","pushed_at":"2016-07-28T14:00:13Z","git_url":"git://github.com/clarabatt/curso-javascript-ninja.git","ssh_url":"git@github.com:clarabatt/curso-javascript-ninja.git","clone_url":"https://github.com/clarabatt/curso-javascript-ninja.git","svn_url":"https://github.com/clarabatt/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":115,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"da2k:master","ref":"master","sha":"abf2cd7fc8da76e70c886f570ba549d9d534c86e","user":{"login":"da2k","id":11011075,"avatar_url":"https://avatars.githubusercontent.com/u/11011075?v=3","gravatar_id":"","url":"https://api.github.com/users/da2k","html_url":"https://github.com/da2k","followers_url":"https://api.github.com/users/da2k/followers","following_url":"https://api.github.com/users/da2k/following{/other_user}","gists_url":"https://api.github.com/users/da2k/gists{/gist_id}","starred_url":"https://api.github.com/users/da2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da2k/subscriptions","organizations_url":"https://api.github.com/users/da2k/orgs","repos_url":"https://api.github.com/users/da2k/repos","events_url":"https://api.github.com/users/da2k/events{/privacy}","received_events_url":"https://api.github.com/users/da2k/received_events","type":"Organization","site_admin":false},"repo":{"id":30896610,"name":"curso-javascript-ninja","full_name":"da2k/curso-javascript-ninja","owner":{"login":"da2k","id":11011075,"avatar_url":"https://avatars.githubusercontent.com/u/11011075?v=3","gravatar_id":"","url":"https://api.github.com/users/da2k","html_url":"https://github.com/da2k","followers_url":"https://api.github.com/users/da2k/followers","following_url":"https://api.github.com/users/da2k/following{/other_user}","gists_url":"https://api.github.com/users/da2k/gists{/gist_id}","starred_url":"https://api.github.com/users/da2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/da2k/subscriptions","organizations_url":"https://api.github.com/users/da2k/orgs","repos_url":"https://api.github.com/users/da2k/repos","events_url":"https://api.github.com/users/da2k/events{/privacy}","received_events_url":"https://api.github.com/users/da2k/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/da2k/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":false,"url":"https://api.github.com/repos/da2k/curso-javascript-ninja","forks_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/releases{/id}","deployments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/deployments","created_at":"2015-02-17T00:57:58Z","updated_at":"2016-07-23T18:51:33Z","pushed_at":"2016-07-27T23:09:13Z","git_url":"git://github.com/da2k/curso-javascript-ninja.git","ssh_url":"git@github.com:da2k/curso-javascript-ninja.git","clone_url":"https://github.com/da2k/curso-javascript-ninja.git","svn_url":"https://github.com/da2k/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":2166,"stargazers_count":99,"watchers_count":99,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":96,"mirror_url":null,"open_issues_count":373,"forks":96,"open_issues":373,"watchers":99,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/896"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/896"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/896"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/896/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/896/comments"},"review_comment":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/896/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/5f7c5d9274bb7427f9978aa8785dae42c8513b5b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":156,"deletions":89,"changed_files":2}}
{"actor":{"display_login":"clarabatt"}}