{"action":"created","comment":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/28191849","id":28191849,"diff_hunk":"@@ -58,8 +71,28 @@ Crie uma função com as seguintes características:\n 5. Se nenhum argumento for passado, retorne o valor booleano `false`.\n 6. E ainda, se nenhuma das condições acima forem atendidas, retorne `null`.\n */\n-?\n+function testaArgumentos(a, b, c){\n+\tif(a != null && b == null && c == null){\n+\t\treturn a;\n+\t} else if(a == null && b != null && c == null){\n+\t\treturn b;\n+\t} else if(a == null && b == null && c != null){\n+\t\treturn c;\n+\t} else if(a != null && b != null && c == null){\n+\t\treturn a + b;\n+\t} else if(a != null && b != null && c != null){","path":"challenge-02/README.md","position":89,"original_position":89,"commit_id":"d6f2b7f7c3466d3f4efca40eef9e885826110d3f","original_commit_id":"d6f2b7f7c3466d3f4efca40eef9e885826110d3f","user":{"login":"fdaciuk","id":487669,"avatar_url":"https://avatars.githubusercontent.com/u/487669?v=3","gravatar_id":"","url":"https://api.github.com/users/fdaciuk","html_url":"https://github.com/fdaciuk","followers_url":"https://api.github.com/users/fdaciuk/followers","following_url":"https://api.github.com/users/fdaciuk/following{/other_user}","gists_url":"https://api.github.com/users/fdaciuk/gists{/gist_id}","starred_url":"https://api.github.com/users/fdaciuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdaciuk/subscriptions","organizations_url":"https://api.github.com/users/fdaciuk/orgs","repos_url":"https://api.github.com/users/fdaciuk/repos","events_url":"https://api.github.com/users/fdaciuk/events{/privacy}","received_events_url":"https://api.github.com/users/fdaciuk/received_events","type":"User","site_admin":false},"body":"-1\r\nTestar com `undefined` usando _strict equal_.","created_at":"2015-04-11T03:23:48Z","updated_at":"2015-04-11T03:23:48Z","html_url":"https://github.com/da2k/curso-javascript-ninja/pull/35#discussion_r28191849","pull_request_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/28191849"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/35#discussion_r28191849"},"pull_request":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35","id":33015409,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/35","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/35.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/35.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/35","number":35,"state":"open","locked":false,"title":"feito challenge-02","user":{"login":"theandersonn","id":5203138,"avatar_url":"https://avatars.githubusercontent.com/u/5203138?v=3","gravatar_id":"","url":"https://api.github.com/users/theandersonn","html_url":"https://github.com/theandersonn","followers_url":"https://api.github.com/users/theandersonn/followers","following_url":"https://api.github.com/users/theandersonn/following{/other_user}","gists_url":"https://api.github.com/users/theandersonn/gists{/gist_id}","starred_url":"https://api.github.com/users/theandersonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theandersonn/subscriptions","organizations_url":"https://api.github.com/users/theandersonn/orgs","repos_url":"https://api.github.com/users/theandersonn/repos","events_url":"https://api.github.com/users/theandersonn/events{/privacy}","received_events_url":"https://api.github.com/users/theandersonn/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-10T03:25:40Z","updated_at":"2015-04-11T03:23:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80cc81e9b340b63a2c0c1689d7cb299973ff0b42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35/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/35/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/d6f2b7f7c3466d3f4efca40eef9e885826110d3f","head":{"label":"theandersonn:challenge-02","ref":"challenge-02","sha":"d6f2b7f7c3466d3f4efca40eef9e885826110d3f","user":{"login":"theandersonn","id":5203138,"avatar_url":"https://avatars.githubusercontent.com/u/5203138?v=3","gravatar_id":"","url":"https://api.github.com/users/theandersonn","html_url":"https://github.com/theandersonn","followers_url":"https://api.github.com/users/theandersonn/followers","following_url":"https://api.github.com/users/theandersonn/following{/other_user}","gists_url":"https://api.github.com/users/theandersonn/gists{/gist_id}","starred_url":"https://api.github.com/users/theandersonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theandersonn/subscriptions","organizations_url":"https://api.github.com/users/theandersonn/orgs","repos_url":"https://api.github.com/users/theandersonn/repos","events_url":"https://api.github.com/users/theandersonn/events{/privacy}","received_events_url":"https://api.github.com/users/theandersonn/received_events","type":"User","site_admin":false},"repo":{"id":33418608,"name":"curso-javascript-ninja","full_name":"theandersonn/curso-javascript-ninja","owner":{"login":"theandersonn","id":5203138,"avatar_url":"https://avatars.githubusercontent.com/u/5203138?v=3","gravatar_id":"","url":"https://api.github.com/users/theandersonn","html_url":"https://github.com/theandersonn","followers_url":"https://api.github.com/users/theandersonn/followers","following_url":"https://api.github.com/users/theandersonn/following{/other_user}","gists_url":"https://api.github.com/users/theandersonn/gists{/gist_id}","starred_url":"https://api.github.com/users/theandersonn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theandersonn/subscriptions","organizations_url":"https://api.github.com/users/theandersonn/orgs","repos_url":"https://api.github.com/users/theandersonn/repos","events_url":"https://api.github.com/users/theandersonn/events{/privacy}","received_events_url":"https://api.github.com/users/theandersonn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theandersonn/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja","forks_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/theandersonn/curso-javascript-ninja/releases{/id}","created_at":"2015-04-04T20:09:17Z","updated_at":"2015-04-04T02:17:55Z","pushed_at":"2015-04-10T03:23:16Z","git_url":"git://github.com/theandersonn/curso-javascript-ninja.git","ssh_url":"git@github.com:theandersonn/curso-javascript-ninja.git","clone_url":"https://github.com/theandersonn/curso-javascript-ninja.git","svn_url":"https://github.com/theandersonn/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":103,"stargazers_count":0,"watchers_count":0,"language":null,"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":"7b060e5d62f19919277ed39aa1b56be9d0dce558","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}","created_at":"2015-02-17T00:57:58Z","updated_at":"2015-04-07T20:19:30Z","pushed_at":"2015-04-11T01:53:02Z","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":1193,"stargazers_count":19,"watchers_count":19,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":17,"forks":19,"open_issues":17,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/35"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/35"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/35/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/35/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/d6f2b7f7c3466d3f4efca40eef9e885826110d3f"}}}}