{"action":"created","comment":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/27777167","id":27777167,"diff_hunk":"@@ -2,41 +2,42 @@\n \n ```js\n // Declarar uma variável chamada `myvar`, sem valor.\n-?\n+var myvar;\n \n // Após declarada, atribua o valor 10 à variável `myvar`.\n-?\n+myvar = 10;\n \n // Declare uma nova variável chamada `soma`, e adicione uma instrução somando os valores 15 e 8.\n-?\n+var soma = 15 + 8;\n \n // Atribua à variável `soma` todo o valor dela, somando 1, usando o operador de soma abreviado.\n-?\n+soma = soma++;\n \n // Atribua à variável `soma` todo o valor dela, multiplicando por 3, usando o operador de multiplicação abreviado.\n-?\n+soma = soma * 3;\n \n // Qual é o valor da variável `soma` até aqui?\n-?\n+72\n \n // Declare uma variável chamada `souninja`, atribuindo à ela o valor booleano que representa `verdadeiro`.\n-?\n+var souninja = true;\n \n // Declare uma variável chamada `comida` que recebe um array com os valores 'arroz', 'feijão' e 'ovo'.\n-?\n+var comida = ['arroz', 'feijão', 'ovo'];\n \n // Digite a instrução que imprime o valor de 'feijao', que está na variável `comida`.\n-?\n+comida[1];\n \n // Digite o código que verifica se a variável `soma' é igual a variável `myvar` (testando também o tipo).\n-?\n+soma === myvar;\n \n // Digite o código que verifica se a variável `myvar` é menor ou igual à variável `soma`.\n-?\n+myvar <= soma;\n \n // Crie uma função chamada `divisao` que receba como parâmetro dois números, e retorne o resultado da divisão entre eles.\n-?\n-\n+function divisao(x, y) {\n+  return x / y;\n+};","path":"challenge-01/README.md","position":52,"original_position":52,"commit_id":"bb197644ee359e5defb3c4a246ef434a86a8c5da","original_commit_id":"bb197644ee359e5defb3c4a246ef434a86a8c5da","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":"Para funções literais, não é necessário o ponto-e-vírgula no final.","created_at":"2015-04-05T13:02:08Z","updated_at":"2015-04-05T13:02:08Z","html_url":"https://github.com/da2k/curso-javascript-ninja/pull/9#discussion_r27777167","pull_request_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/comments/27777167"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/9#discussion_r27777167"},"pull_request":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9","id":32482721,"html_url":"https://github.com/da2k/curso-javascript-ninja/pull/9","diff_url":"https://github.com/da2k/curso-javascript-ninja/pull/9.diff","patch_url":"https://github.com/da2k/curso-javascript-ninja/pull/9.patch","issue_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/9","number":9,"state":"open","locked":false,"title":"Update README.md","user":{"login":"silvioCoelho","id":6528661,"avatar_url":"https://avatars.githubusercontent.com/u/6528661?v=3","gravatar_id":"","url":"https://api.github.com/users/silvioCoelho","html_url":"https://github.com/silvioCoelho","followers_url":"https://api.github.com/users/silvioCoelho/followers","following_url":"https://api.github.com/users/silvioCoelho/following{/other_user}","gists_url":"https://api.github.com/users/silvioCoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/silvioCoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvioCoelho/subscriptions","organizations_url":"https://api.github.com/users/silvioCoelho/orgs","repos_url":"https://api.github.com/users/silvioCoelho/repos","events_url":"https://api.github.com/users/silvioCoelho/events{/privacy}","received_events_url":"https://api.github.com/users/silvioCoelho/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-02T04:42:31Z","updated_at":"2015-04-05T13:02:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"29f4fdf16e2bc72f3c5eb5363d170c3256bb9838","assignee":null,"milestone":{"url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/1","html_url":"https://github.com/da2k/curso-javascript-ninja/milestones/%231%20class","labels_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/milestones/1/labels","id":1051760,"number":1,"title":"#1 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":10,"closed_issues":0,"state":"open","created_at":"2015-04-03T12:19:56Z","updated_at":"2015-04-04T10:53:19Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9/commits","review_comments_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9/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/9/comments","statuses_url":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/bb197644ee359e5defb3c4a246ef434a86a8c5da","head":{"label":"silvioCoelho:chalenge-01","ref":"chalenge-01","sha":"bb197644ee359e5defb3c4a246ef434a86a8c5da","user":{"login":"silvioCoelho","id":6528661,"avatar_url":"https://avatars.githubusercontent.com/u/6528661?v=3","gravatar_id":"","url":"https://api.github.com/users/silvioCoelho","html_url":"https://github.com/silvioCoelho","followers_url":"https://api.github.com/users/silvioCoelho/followers","following_url":"https://api.github.com/users/silvioCoelho/following{/other_user}","gists_url":"https://api.github.com/users/silvioCoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/silvioCoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvioCoelho/subscriptions","organizations_url":"https://api.github.com/users/silvioCoelho/orgs","repos_url":"https://api.github.com/users/silvioCoelho/repos","events_url":"https://api.github.com/users/silvioCoelho/events{/privacy}","received_events_url":"https://api.github.com/users/silvioCoelho/received_events","type":"User","site_admin":false},"repo":{"id":33288894,"name":"curso-javascript-ninja","full_name":"silvioCoelho/curso-javascript-ninja","owner":{"login":"silvioCoelho","id":6528661,"avatar_url":"https://avatars.githubusercontent.com/u/6528661?v=3","gravatar_id":"","url":"https://api.github.com/users/silvioCoelho","html_url":"https://github.com/silvioCoelho","followers_url":"https://api.github.com/users/silvioCoelho/followers","following_url":"https://api.github.com/users/silvioCoelho/following{/other_user}","gists_url":"https://api.github.com/users/silvioCoelho/gists{/gist_id}","starred_url":"https://api.github.com/users/silvioCoelho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silvioCoelho/subscriptions","organizations_url":"https://api.github.com/users/silvioCoelho/orgs","repos_url":"https://api.github.com/users/silvioCoelho/repos","events_url":"https://api.github.com/users/silvioCoelho/events{/privacy}","received_events_url":"https://api.github.com/users/silvioCoelho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/silvioCoelho/curso-javascript-ninja","description":"Curso Javascript Ninja","fork":true,"url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja","forks_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/forks","keys_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/keys{/key_id}","collaborators_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/teams","hooks_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/hooks","issue_events_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/issues/events{/number}","events_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/events","assignees_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/assignees{/user}","branches_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/branches{/branch}","tags_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/tags","blobs_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/git/refs{/sha}","trees_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/git/trees{/sha}","statuses_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/statuses/{sha}","languages_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/languages","stargazers_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/stargazers","contributors_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/contributors","subscribers_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/subscribers","subscription_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/subscription","commits_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/commits{/sha}","git_commits_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/git/commits{/sha}","comments_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/comments{/number}","issue_comment_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/issues/comments{/number}","contents_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/contents/{+path}","compare_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/compare/{base}...{head}","merges_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/merges","archive_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/downloads","issues_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/issues{/number}","pulls_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/pulls{/number}","milestones_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/milestones{/number}","notifications_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/labels{/name}","releases_url":"https://api.github.com/repos/silvioCoelho/curso-javascript-ninja/releases{/id}","created_at":"2015-04-02T04:19:11Z","updated_at":"2015-04-01T11:14:01Z","pushed_at":"2015-04-02T04:37:56Z","git_url":"git://github.com/silvioCoelho/curso-javascript-ninja.git","ssh_url":"git@github.com:silvioCoelho/curso-javascript-ninja.git","clone_url":"https://github.com/silvioCoelho/curso-javascript-ninja.git","svn_url":"https://github.com/silvioCoelho/curso-javascript-ninja","homepage":"http://blog.da2k.com.br/curso-javascript-ninja/","size":90,"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":"d2134407a36be35be83cde67758afebef555ad0e","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-04T02:17:55Z","pushed_at":"2015-04-04T20:23:15Z","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":734,"stargazers_count":14,"watchers_count":14,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":11,"forks":12,"open_issues":11,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9"},"html":{"href":"https://github.com/da2k/curso-javascript-ninja/pull/9"},"issue":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/9"},"comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/pulls/9/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/9/commits"},"statuses":{"href":"https://api.github.com/repos/da2k/curso-javascript-ninja/statuses/bb197644ee359e5defb3c4a246ef434a86a8c5da"}}}}