{"action":"created","comment":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/44879706","id":44879706,"diff_hunk":"@@ -4,29 +4,34 @@ Nesse exercício, você está livre para escolher os nomes para suas variáveis\n \n ```js\n // Crie uma função que receba dois argumentos e retorne a soma dos mesmos.\n-?\n+function somaDoisNumeros( x, y ){\n+\treturn x + y;\n+}\n \n // Declare uma variável que receba a invocação da função criada acima, passando dois números quaisquer por argumento, e somando `5` ao resultado retornado da função.\n-?\n+var y = somaDoisNumeros(2, 4) + 5;\n \n // Qual o valor atualizado dessa variável?\n-?\n+11\n \n // Declare uma nova variável, sem valor.\n-?\n+var newvar;\n \n /*\n Crie uma função que adicione um valor à variável criada acima, e retorne a string:\n     O valor da variável agora é VALOR.\n Onde VALOR é o novo valor da variável.\n */\n-?\n+function atributeValue( x, valor ){","path":"challenge-02/README.md","position":27,"original_position":27,"commit_id":"c30f46749719ea98f223bd2a106e8d462625a716","original_commit_id":"c30f46749719ea98f223bd2a106e8d462625a716","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\nA função não necessita de parâmetros. Passe um valor fixo para a variável dentro dessa função :)","created_at":"2015-11-15T23:23:37Z","updated_at":"2015-11-15T23:23:37Z","html_url":"https://github.com/da2k/curso-javascript-ninja/pull/442#discussion_r44879706","pull_request_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442","_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/44879706"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/442#discussion_r44879706"},"pull_request":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442"}}},"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442","id":49700184,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/442","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/442.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/442.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/442","number":442,"state":"open","locked":false,"title":"Challenge 02","user":{"login":"lucasmaiaesilva","id":8356935,"avatar_url":"https://avatars.githubusercontent.com/u/8356935?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmaiaesilva","html_url":"https://github.com/lucasmaiaesilva","followers_url":"https://api.github.com/users/lucasmaiaesilva/followers","following_url":"https://api.github.com/users/lucasmaiaesilva/following{/other_user}","gists_url":"https://api.github.com/users/lucasmaiaesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmaiaesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmaiaesilva/subscriptions","organizations_url":"https://api.github.com/users/lucasmaiaesilva/orgs","repos_url":"https://api.github.com/users/lucasmaiaesilva/repos","events_url":"https://api.github.com/users/lucasmaiaesilva/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmaiaesilva/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-04T15:11:29Z","updated_at":"2015-11-15T23:23:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b15f2d7b0a113b28cd42676cd9126184fa48c739","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442/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/442/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/c30f46749719ea98f223bd2a106e8d462625a716","head":{"label":"lucasmaiaesilva:challenge-02","ref":"challenge-02","sha":"c30f46749719ea98f223bd2a106e8d462625a716","user":{"login":"lucasmaiaesilva","id":8356935,"avatar_url":"https://avatars.githubusercontent.com/u/8356935?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmaiaesilva","html_url":"https://github.com/lucasmaiaesilva","followers_url":"https://api.github.com/users/lucasmaiaesilva/followers","following_url":"https://api.github.com/users/lucasmaiaesilva/following{/other_user}","gists_url":"https://api.github.com/users/lucasmaiaesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmaiaesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmaiaesilva/subscriptions","organizations_url":"https://api.github.com/users/lucasmaiaesilva/orgs","repos_url":"https://api.github.com/users/lucasmaiaesilva/repos","events_url":"https://api.github.com/users/lucasmaiaesilva/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmaiaesilva/received_events","type":"User","site_admin":false},"repo":{"id":45480235,"name":"curso-javascript-ninja","full_name":"lucasmaiaesilva/curso-javascript-ninja","owner":{"login":"lucasmaiaesilva","id":8356935,"avatar_url":"https://avatars.githubusercontent.com/u/8356935?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasmaiaesilva","html_url":"https://github.com/lucasmaiaesilva","followers_url":"https://api.github.com/users/lucasmaiaesilva/followers","following_url":"https://api.github.com/users/lucasmaiaesilva/following{/other_user}","gists_url":"https://api.github.com/users/lucasmaiaesilva/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasmaiaesilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasmaiaesilva/subscriptions","organizations_url":"https://api.github.com/users/lucasmaiaesilva/orgs","repos_url":"https://api.github.com/users/lucasmaiaesilva/repos","events_url":"https://api.github.com/users/lucasmaiaesilva/events{/privacy}","received_events_url":"https://api.github.com/users/lucasmaiaesilva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasmaiaesilva/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja","forks_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/lucasmaiaesilva/curso-javascript-ninja/releases{/id}","created_at":"2015-11-03T16:39:21Z","updated_at":"2015-11-03T16:39:22Z","pushed_at":"2015-11-13T16:22:07Z","git_url":"git://github.com/lucasmaiaesilva/curso-javascript-ninja.git","ssh_url":"git@github.com:lucasmaiaesilva/curso-javascript-ninja.git","clone_url":"https://github.com/lucasmaiaesilva/curso-javascript-ninja.git","svn_url":"https://github.com/lucasmaiaesilva/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":145,"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":"6c63918755f17440f4ff39a5db15d2c6cb1f7ffc","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-11-04T12:25:42Z","pushed_at":"2015-11-15T23:12:52Z","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":3120,"stargazers_count":50,"watchers_count":50,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"open_issues_count":76,"forks":54,"open_issues":76,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/442"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/442"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/442/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/442/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/442/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/c30f46749719ea98f223bd2a106e8d462625a716"}}}}