{"action":"created","comment":{"url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/comments/158848404","pull_request_review_id":85711682,"id":158848404,"diff_hunk":"@@ -0,0 +1,51 @@\n+// verifica si una tarjeta es válida\n+// number:es el número de la tarjeta\n+function isValidCard(number) {\n+  // newArray: almacenará los digitos de la tarjeta\n+  var newArray = [];\n+  // ciclo que extrae extrae el último dígito y lo elimina\n+  for (var i = 0; i <= 15; i++) {\n+    var lastNumber = number % 10;\n+    number = parseInt(number / 10);","path":"js/app.js","position":9,"original_position":9,"commit_id":"7c61bf94edd936c0985411091c3663864365c81f","original_commit_id":"7c61bf94edd936c0985411091c3663864365c81f","user":{"login":"Manu160296","id":31525603,"avatar_url":"https://avatars0.githubusercontent.com/u/31525603?v=4","gravatar_id":"","url":"https://api.github.com/users/Manu160296","html_url":"https://github.com/Manu160296","followers_url":"https://api.github.com/users/Manu160296/followers","following_url":"https://api.github.com/users/Manu160296/following{/other_user}","gists_url":"https://api.github.com/users/Manu160296/gists{/gist_id}","starred_url":"https://api.github.com/users/Manu160296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manu160296/subscriptions","organizations_url":"https://api.github.com/users/Manu160296/orgs","repos_url":"https://api.github.com/users/Manu160296/repos","events_url":"https://api.github.com/users/Manu160296/events{/privacy}","received_events_url":"https://api.github.com/users/Manu160296/received_events","type":"User","site_admin":false},"body":"Muchas gracias !! .. sin duda alguna tendré muy presente sus comentarios , y nuevamente gracias :)","created_at":"2017-12-27T17:56:28Z","updated_at":"2017-12-27T17:56:28Z","html_url":"https://github.com/Laboratoria-learning/valid-credit-card/pull/52#discussion_r158848404","pull_request_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/comments/158848404"},"html":{"href":"https://github.com/Laboratoria-learning/valid-credit-card/pull/52#discussion_r158848404"},"pull_request":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52"}},"in_reply_to_id":158847786},"pull_request":{"url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52","id":151345153,"html_url":"https://github.com/Laboratoria-learning/valid-credit-card/pull/52","diff_url":"https://github.com/Laboratoria-learning/valid-credit-card/pull/52.diff","patch_url":"https://github.com/Laboratoria-learning/valid-credit-card/pull/52.patch","issue_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues/52","number":52,"state":"open","locked":false,"title":"Validación tarjeta de crédito - Manuela Flores Vilchez","user":{"login":"Manu160296","id":31525603,"avatar_url":"https://avatars0.githubusercontent.com/u/31525603?v=4","gravatar_id":"","url":"https://api.github.com/users/Manu160296","html_url":"https://github.com/Manu160296","followers_url":"https://api.github.com/users/Manu160296/followers","following_url":"https://api.github.com/users/Manu160296/following{/other_user}","gists_url":"https://api.github.com/users/Manu160296/gists{/gist_id}","starred_url":"https://api.github.com/users/Manu160296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manu160296/subscriptions","organizations_url":"https://api.github.com/users/Manu160296/orgs","repos_url":"https://api.github.com/users/Manu160296/repos","events_url":"https://api.github.com/users/Manu160296/events{/privacy}","received_events_url":"https://api.github.com/users/Manu160296/received_events","type":"User","site_admin":false},"body":"Validado Tarjeta de crédito de Manuela Flores --Hola! muchas gracias por revisar mi producto final :) ,espero recibir pronto el feedback ...Muchas gracias por el tiempo ","created_at":"2017-11-08T10:30:44Z","updated_at":"2017-12-27T17:56:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f29929b912069c45483cefdb581b510fcd90bea1","assignee":{"login":"diegovelezg","id":28717078,"avatar_url":"https://avatars0.githubusercontent.com/u/28717078?v=4","gravatar_id":"","url":"https://api.github.com/users/diegovelezg","html_url":"https://github.com/diegovelezg","followers_url":"https://api.github.com/users/diegovelezg/followers","following_url":"https://api.github.com/users/diegovelezg/following{/other_user}","gists_url":"https://api.github.com/users/diegovelezg/gists{/gist_id}","starred_url":"https://api.github.com/users/diegovelezg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegovelezg/subscriptions","organizations_url":"https://api.github.com/users/diegovelezg/orgs","repos_url":"https://api.github.com/users/diegovelezg/repos","events_url":"https://api.github.com/users/diegovelezg/events{/privacy}","received_events_url":"https://api.github.com/users/diegovelezg/received_events","type":"User","site_admin":false},"assignees":[{"login":"diegovelezg","id":28717078,"avatar_url":"https://avatars0.githubusercontent.com/u/28717078?v=4","gravatar_id":"","url":"https://api.github.com/users/diegovelezg","html_url":"https://github.com/diegovelezg","followers_url":"https://api.github.com/users/diegovelezg/followers","following_url":"https://api.github.com/users/diegovelezg/following{/other_user}","gists_url":"https://api.github.com/users/diegovelezg/gists{/gist_id}","starred_url":"https://api.github.com/users/diegovelezg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegovelezg/subscriptions","organizations_url":"https://api.github.com/users/diegovelezg/orgs","repos_url":"https://api.github.com/users/diegovelezg/repos","events_url":"https://api.github.com/users/diegovelezg/events{/privacy}","received_events_url":"https://api.github.com/users/diegovelezg/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52/commits","review_comments_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52/comments","review_comment_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues/52/comments","statuses_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/statuses/7c61bf94edd936c0985411091c3663864365c81f","head":{"label":"Manu160296:master","ref":"master","sha":"7c61bf94edd936c0985411091c3663864365c81f","user":{"login":"Manu160296","id":31525603,"avatar_url":"https://avatars0.githubusercontent.com/u/31525603?v=4","gravatar_id":"","url":"https://api.github.com/users/Manu160296","html_url":"https://github.com/Manu160296","followers_url":"https://api.github.com/users/Manu160296/followers","following_url":"https://api.github.com/users/Manu160296/following{/other_user}","gists_url":"https://api.github.com/users/Manu160296/gists{/gist_id}","starred_url":"https://api.github.com/users/Manu160296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manu160296/subscriptions","organizations_url":"https://api.github.com/users/Manu160296/orgs","repos_url":"https://api.github.com/users/Manu160296/repos","events_url":"https://api.github.com/users/Manu160296/events{/privacy}","received_events_url":"https://api.github.com/users/Manu160296/received_events","type":"User","site_admin":false},"repo":{"id":109864377,"name":"valid-credit-card","full_name":"Manu160296/valid-credit-card","owner":{"login":"Manu160296","id":31525603,"avatar_url":"https://avatars0.githubusercontent.com/u/31525603?v=4","gravatar_id":"","url":"https://api.github.com/users/Manu160296","html_url":"https://github.com/Manu160296","followers_url":"https://api.github.com/users/Manu160296/followers","following_url":"https://api.github.com/users/Manu160296/following{/other_user}","gists_url":"https://api.github.com/users/Manu160296/gists{/gist_id}","starred_url":"https://api.github.com/users/Manu160296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Manu160296/subscriptions","organizations_url":"https://api.github.com/users/Manu160296/orgs","repos_url":"https://api.github.com/users/Manu160296/repos","events_url":"https://api.github.com/users/Manu160296/events{/privacy}","received_events_url":"https://api.github.com/users/Manu160296/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Manu160296/valid-credit-card","description":"Reto de código de JS - Bootcamp @ Laboratoria","fork":true,"url":"https://api.github.com/repos/Manu160296/valid-credit-card","forks_url":"https://api.github.com/repos/Manu160296/valid-credit-card/forks","keys_url":"https://api.github.com/repos/Manu160296/valid-credit-card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Manu160296/valid-credit-card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Manu160296/valid-credit-card/teams","hooks_url":"https://api.github.com/repos/Manu160296/valid-credit-card/hooks","issue_events_url":"https://api.github.com/repos/Manu160296/valid-credit-card/issues/events{/number}","events_url":"https://api.github.com/repos/Manu160296/valid-credit-card/events","assignees_url":"https://api.github.com/repos/Manu160296/valid-credit-card/assignees{/user}","branches_url":"https://api.github.com/repos/Manu160296/valid-credit-card/branches{/branch}","tags_url":"https://api.github.com/repos/Manu160296/valid-credit-card/tags","blobs_url":"https://api.github.com/repos/Manu160296/valid-credit-card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Manu160296/valid-credit-card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Manu160296/valid-credit-card/git/refs{/sha}","trees_url":"https://api.github.com/repos/Manu160296/valid-credit-card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Manu160296/valid-credit-card/statuses/{sha}","languages_url":"https://api.github.com/repos/Manu160296/valid-credit-card/languages","stargazers_url":"https://api.github.com/repos/Manu160296/valid-credit-card/stargazers","contributors_url":"https://api.github.com/repos/Manu160296/valid-credit-card/contributors","subscribers_url":"https://api.github.com/repos/Manu160296/valid-credit-card/subscribers","subscription_url":"https://api.github.com/repos/Manu160296/valid-credit-card/subscription","commits_url":"https://api.github.com/repos/Manu160296/valid-credit-card/commits{/sha}","git_commits_url":"https://api.github.com/repos/Manu160296/valid-credit-card/git/commits{/sha}","comments_url":"https://api.github.com/repos/Manu160296/valid-credit-card/comments{/number}","issue_comment_url":"https://api.github.com/repos/Manu160296/valid-credit-card/issues/comments{/number}","contents_url":"https://api.github.com/repos/Manu160296/valid-credit-card/contents/{+path}","compare_url":"https://api.github.com/repos/Manu160296/valid-credit-card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Manu160296/valid-credit-card/merges","archive_url":"https://api.github.com/repos/Manu160296/valid-credit-card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Manu160296/valid-credit-card/downloads","issues_url":"https://api.github.com/repos/Manu160296/valid-credit-card/issues{/number}","pulls_url":"https://api.github.com/repos/Manu160296/valid-credit-card/pulls{/number}","milestones_url":"https://api.github.com/repos/Manu160296/valid-credit-card/milestones{/number}","notifications_url":"https://api.github.com/repos/Manu160296/valid-credit-card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Manu160296/valid-credit-card/labels{/name}","releases_url":"https://api.github.com/repos/Manu160296/valid-credit-card/releases{/id}","deployments_url":"https://api.github.com/repos/Manu160296/valid-credit-card/deployments","created_at":"2017-11-07T16:50:59Z","updated_at":"2017-11-07T17:41:59Z","pushed_at":"2017-11-07T17:41:58Z","git_url":"git://github.com/Manu160296/valid-credit-card.git","ssh_url":"git@github.com:Manu160296/valid-credit-card.git","clone_url":"https://github.com/Manu160296/valid-credit-card.git","svn_url":"https://github.com/Manu160296/valid-credit-card","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Laboratoria-learning:master","ref":"master","sha":"4b8db65ad0326920b4657fdc22276be88ff748f3","user":{"login":"Laboratoria-learning","id":32314555,"avatar_url":"https://avatars3.githubusercontent.com/u/32314555?v=4","gravatar_id":"","url":"https://api.github.com/users/Laboratoria-learning","html_url":"https://github.com/Laboratoria-learning","followers_url":"https://api.github.com/users/Laboratoria-learning/followers","following_url":"https://api.github.com/users/Laboratoria-learning/following{/other_user}","gists_url":"https://api.github.com/users/Laboratoria-learning/gists{/gist_id}","starred_url":"https://api.github.com/users/Laboratoria-learning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laboratoria-learning/subscriptions","organizations_url":"https://api.github.com/users/Laboratoria-learning/orgs","repos_url":"https://api.github.com/users/Laboratoria-learning/repos","events_url":"https://api.github.com/users/Laboratoria-learning/events{/privacy}","received_events_url":"https://api.github.com/users/Laboratoria-learning/received_events","type":"Organization","site_admin":false},"repo":{"id":109056713,"name":"valid-credit-card","full_name":"Laboratoria-learning/valid-credit-card","owner":{"login":"Laboratoria-learning","id":32314555,"avatar_url":"https://avatars3.githubusercontent.com/u/32314555?v=4","gravatar_id":"","url":"https://api.github.com/users/Laboratoria-learning","html_url":"https://github.com/Laboratoria-learning","followers_url":"https://api.github.com/users/Laboratoria-learning/followers","following_url":"https://api.github.com/users/Laboratoria-learning/following{/other_user}","gists_url":"https://api.github.com/users/Laboratoria-learning/gists{/gist_id}","starred_url":"https://api.github.com/users/Laboratoria-learning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laboratoria-learning/subscriptions","organizations_url":"https://api.github.com/users/Laboratoria-learning/orgs","repos_url":"https://api.github.com/users/Laboratoria-learning/repos","events_url":"https://api.github.com/users/Laboratoria-learning/events{/privacy}","received_events_url":"https://api.github.com/users/Laboratoria-learning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Laboratoria-learning/valid-credit-card","description":"Reto de código de JS - Bootcamp @ Laboratoria","fork":false,"url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card","forks_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/forks","keys_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/teams","hooks_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/hooks","issue_events_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues/events{/number}","events_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/events","assignees_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/assignees{/user}","branches_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/branches{/branch}","tags_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/tags","blobs_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/git/refs{/sha}","trees_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/statuses/{sha}","languages_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/languages","stargazers_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/stargazers","contributors_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/contributors","subscribers_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/subscribers","subscription_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/subscription","commits_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/commits{/sha}","git_commits_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/git/commits{/sha}","comments_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/comments{/number}","issue_comment_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues/comments{/number}","contents_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/contents/{+path}","compare_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/merges","archive_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/downloads","issues_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues{/number}","pulls_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls{/number}","milestones_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/milestones{/number}","notifications_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/labels{/name}","releases_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/releases{/id}","deployments_url":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/deployments","created_at":"2017-10-31T22:00:59Z","updated_at":"2017-10-31T22:00:59Z","pushed_at":"2017-11-21T16:00:05Z","git_url":"git://github.com/Laboratoria-learning/valid-credit-card.git","ssh_url":"git@github.com:Laboratoria-learning/valid-credit-card.git","clone_url":"https://github.com/Laboratoria-learning/valid-credit-card.git","svn_url":"https://github.com/Laboratoria-learning/valid-credit-card","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":115,"mirror_url":null,"archived":false,"open_issues_count":54,"license":null,"forks":115,"open_issues":54,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52"},"html":{"href":"https://github.com/Laboratoria-learning/valid-credit-card/pull/52"},"issue":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues/52"},"comments":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/Laboratoria-learning/valid-credit-card/statuses/7c61bf94edd936c0985411091c3663864365c81f"}},"author_association":"NONE"}}
{"actor":{"display_login":"Manu160296"}}