{"action":"created","comment":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/36028274","id":36028274,"diff_hunk":"@@ -4,29 +4,33 @@ 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 teste(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 soma = teste(7,3)+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 valor;\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-\n+valor = 28;\n+function resultado() {\n+return \"O valor da variável agora é \" + valor;","path":"challenge-02/README.md","position":30,"original_position":30,"commit_id":"b6a0580287917f730eb52291d4f8c2b035dbbf9d","original_commit_id":"b6a0580287917f730eb52291d4f8c2b035dbbf9d","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\nCódigos que estiverem dentro de outros devem estar indentados corretamente :)\r\n\r\nAspas simples e duplas fazem exatamente a mesma coisa em JS. Mas vamos usar sempre aspas simples, para padronizar, ok? :)","created_at":"2015-08-01T00:52:42Z","updated_at":"2015-08-01T00:52:42Z","html_url":"https://github.com/da2k/curso-javascript-ninja/pull/236#discussion_r36028274","pull_request_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236","_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/36028274"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/236#discussion_r36028274"},"pull_request":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236"}}},"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236","id":41144983,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/236","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/236.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/236.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/236","number":236,"state":"open","locked":false,"title":"challenge-02","user":{"login":"tcblys","id":13345378,"avatar_url":"https://avatars.githubusercontent.com/u/13345378?v=3","gravatar_id":"","url":"https://api.github.com/users/tcblys","html_url":"https://github.com/tcblys","followers_url":"https://api.github.com/users/tcblys/followers","following_url":"https://api.github.com/users/tcblys/following{/other_user}","gists_url":"https://api.github.com/users/tcblys/gists{/gist_id}","starred_url":"https://api.github.com/users/tcblys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcblys/subscriptions","organizations_url":"https://api.github.com/users/tcblys/orgs","repos_url":"https://api.github.com/users/tcblys/repos","events_url":"https://api.github.com/users/tcblys/events{/privacy}","received_events_url":"https://api.github.com/users/tcblys/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-29T16:40:50Z","updated_at":"2015-08-01T00:52:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b0de851d0d1fcb95d289d2d0c95499a699879f4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236/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/236/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/b6a0580287917f730eb52291d4f8c2b035dbbf9d","head":{"label":"tcblys:challenge-02","ref":"challenge-02","sha":"b6a0580287917f730eb52291d4f8c2b035dbbf9d","user":{"login":"tcblys","id":13345378,"avatar_url":"https://avatars.githubusercontent.com/u/13345378?v=3","gravatar_id":"","url":"https://api.github.com/users/tcblys","html_url":"https://github.com/tcblys","followers_url":"https://api.github.com/users/tcblys/followers","following_url":"https://api.github.com/users/tcblys/following{/other_user}","gists_url":"https://api.github.com/users/tcblys/gists{/gist_id}","starred_url":"https://api.github.com/users/tcblys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcblys/subscriptions","organizations_url":"https://api.github.com/users/tcblys/orgs","repos_url":"https://api.github.com/users/tcblys/repos","events_url":"https://api.github.com/users/tcblys/events{/privacy}","received_events_url":"https://api.github.com/users/tcblys/received_events","type":"User","site_admin":false},"repo":{"id":39121458,"name":"curso-javascript-ninja","full_name":"tcblys/curso-javascript-ninja","owner":{"login":"tcblys","id":13345378,"avatar_url":"https://avatars.githubusercontent.com/u/13345378?v=3","gravatar_id":"","url":"https://api.github.com/users/tcblys","html_url":"https://github.com/tcblys","followers_url":"https://api.github.com/users/tcblys/followers","following_url":"https://api.github.com/users/tcblys/following{/other_user}","gists_url":"https://api.github.com/users/tcblys/gists{/gist_id}","starred_url":"https://api.github.com/users/tcblys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcblys/subscriptions","organizations_url":"https://api.github.com/users/tcblys/orgs","repos_url":"https://api.github.com/users/tcblys/repos","events_url":"https://api.github.com/users/tcblys/events{/privacy}","received_events_url":"https://api.github.com/users/tcblys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tcblys/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/tcblys/curso-javascript-ninja","forks_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/tcblys/curso-javascript-ninja/releases{/id}","created_at":"2015-07-15T06:55:13Z","updated_at":"2015-07-15T06:55:13Z","pushed_at":"2015-07-30T06:08:47Z","git_url":"git://github.com/tcblys/curso-javascript-ninja.git","ssh_url":"git@github.com:tcblys/curso-javascript-ninja.git","clone_url":"https://github.com/tcblys/curso-javascript-ninja.git","svn_url":"https://github.com/tcblys/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":118,"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":"fbfbdeef17f9531f4ab68b4199266f82195276ce","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-07-20T01:12:40Z","pushed_at":"2015-07-31T19:49:51Z","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":2073,"stargazers_count":34,"watchers_count":34,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":32,"forks":39,"open_issues":32,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/236"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/236"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/236/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/236/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/236/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/b6a0580287917f730eb52291d4f8c2b035dbbf9d"}}}}