{"action":"created","comment":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/28139875","id":28139875,"diff_hunk":"@@ -4,29 +4,36 @@ 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 soma( primeiro, segundo ) {\n+\treturn primeiro + segundo;\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 resultado = soma( 3, 7 ) + 5;\n \n // Qual o valor atualizado dessa variável?\n-?\n+15\n \n // Declare uma nova variável, sem valor.\n-?\n+var texto;\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 valor_texto(valor) {","path":"challenge-02/README.md","position":27,"original_position":27,"commit_id":"ad1895f1801f9323ee07a26c7ee5a4ecf8946f00","original_commit_id":"ad1895f1801f9323ee07a26c7ee5a4ecf8946f00","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\nO valor da variável deve ser estático, então não precisa de parâmetro nessa função :)","created_at":"2015-04-10T12:20:26Z","updated_at":"2015-04-10T12:20:26Z","html_url":"https://github.com/da2k/curso-javascript-ninja/pull/30#discussion_r28139875","pull_request_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/28139875"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/30#discussion_r28139875"},"pull_request":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30","id":32883095,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/30","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/30.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/30.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/30","number":30,"state":"open","locked":false,"title":"Challeng 02","user":{"login":"allexcarvalho","id":11725315,"avatar_url":"https://avatars.githubusercontent.com/u/11725315?v=3","gravatar_id":"","url":"https://api.github.com/users/allexcarvalho","html_url":"https://github.com/allexcarvalho","followers_url":"https://api.github.com/users/allexcarvalho/followers","following_url":"https://api.github.com/users/allexcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/allexcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/allexcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allexcarvalho/subscriptions","organizations_url":"https://api.github.com/users/allexcarvalho/orgs","repos_url":"https://api.github.com/users/allexcarvalho/repos","events_url":"https://api.github.com/users/allexcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/allexcarvalho/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-08T17:31:01Z","updated_at":"2015-04-10T12:20:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d6fe92eab029cc34bb06197d2cdd1c5b7b2ba4c8","assignee":null,"milestone":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/2","html_url":"https://github.com/da2k/curso-javascript-ninja/milestones/%232%20class","labels_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/2/labels","id":1053593,"number":2,"title":"#2 class","description":"","creator":{"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},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-04-05T19:06:17Z","updated_at":"2015-04-10T00:45:37Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30/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/30/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/ad1895f1801f9323ee07a26c7ee5a4ecf8946f00","head":{"label":"allexcarvalho:challenge-02","ref":"challenge-02","sha":"ad1895f1801f9323ee07a26c7ee5a4ecf8946f00","user":{"login":"allexcarvalho","id":11725315,"avatar_url":"https://avatars.githubusercontent.com/u/11725315?v=3","gravatar_id":"","url":"https://api.github.com/users/allexcarvalho","html_url":"https://github.com/allexcarvalho","followers_url":"https://api.github.com/users/allexcarvalho/followers","following_url":"https://api.github.com/users/allexcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/allexcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/allexcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allexcarvalho/subscriptions","organizations_url":"https://api.github.com/users/allexcarvalho/orgs","repos_url":"https://api.github.com/users/allexcarvalho/repos","events_url":"https://api.github.com/users/allexcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/allexcarvalho/received_events","type":"User","site_admin":false},"repo":{"id":33141809,"name":"curso-javascript-ninja","full_name":"allexcarvalho/curso-javascript-ninja","owner":{"login":"allexcarvalho","id":11725315,"avatar_url":"https://avatars.githubusercontent.com/u/11725315?v=3","gravatar_id":"","url":"https://api.github.com/users/allexcarvalho","html_url":"https://github.com/allexcarvalho","followers_url":"https://api.github.com/users/allexcarvalho/followers","following_url":"https://api.github.com/users/allexcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/allexcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/allexcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allexcarvalho/subscriptions","organizations_url":"https://api.github.com/users/allexcarvalho/orgs","repos_url":"https://api.github.com/users/allexcarvalho/repos","events_url":"https://api.github.com/users/allexcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/allexcarvalho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/allexcarvalho/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja","forks_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/allexcarvalho/curso-javascript-ninja/releases{/id}","created_at":"2015-03-30T18:58:32Z","updated_at":"2015-03-30T14:36:10Z","pushed_at":"2015-04-07T13:36:03Z","git_url":"git://github.com/allexcarvalho/curso-javascript-ninja.git","ssh_url":"git@github.com:allexcarvalho/curso-javascript-ninja.git","clone_url":"https://github.com/allexcarvalho/curso-javascript-ninja.git","svn_url":"https://github.com/allexcarvalho/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":110,"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-10T03:25:41Z","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":16,"forks":19,"open_issues":16,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/30"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/30"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/30/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/30/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/ad1895f1801f9323ee07a26c7ee5a4ecf8946f00"}}}}