{"action":"created","comment":{"url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments/188327228","pull_request_review_id":120282802,"id":188327228,"diff_hunk":"@@ -0,0 +1,34 @@\n+// Iteration 1\n+// 1. Create an array of strings\n+var myArray = [];\n+// 2. Create a function to add a task in to the array, call it `addTask`, \n+// the function has to accept a string and don't have to return anything.\n+function addTask(target) {\n+    console.log('=======NEW TASK======');\n+    myArray.push(target);\n+    console.log('Task: ' + myArray);\n+    console.log('Number of items: ' + myArray.length);\n+    return myArray;\n+}\n+// 3. Create a function to list all tasks, the task must show in the console .","path":"starter-code/iteration-1/main.js","position":13,"original_position":13,"commit_id":"8e74e0b3ad8a922bf87c0d56913cf615c153232d","original_commit_id":"8e74e0b3ad8a922bf87c0d56913cf615c153232d","user":{"login":"ianizaguirre","id":29879270,"avatar_url":"https://avatars1.githubusercontent.com/u/29879270?v=4","gravatar_id":"","url":"https://api.github.com/users/ianizaguirre","html_url":"https://github.com/ianizaguirre","followers_url":"https://api.github.com/users/ianizaguirre/followers","following_url":"https://api.github.com/users/ianizaguirre/following{/other_user}","gists_url":"https://api.github.com/users/ianizaguirre/gists{/gist_id}","starred_url":"https://api.github.com/users/ianizaguirre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianizaguirre/subscriptions","organizations_url":"https://api.github.com/users/ianizaguirre/orgs","repos_url":"https://api.github.com/users/ianizaguirre/repos","events_url":"https://api.github.com/users/ianizaguirre/events{/privacy}","received_events_url":"https://api.github.com/users/ianizaguirre/received_events","type":"User","site_admin":false},"body":"```js\r\nlet listAllTasks = function (): void {\r\n  console.log(\"=========== TASKS ===========\");\r\n\r\n  this.myArray.forEach((task, index) => {\r\n    console.log(task);\r\n  });\r\n}\r\n```","created_at":"2018-05-15T15:15:35Z","updated_at":"2018-05-15T15:54:33Z","html_url":"https://github.com/ironhack-labs/lab-typescript/pull/223#discussion_r188327228","pull_request_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments/188327228"},"html":{"href":"https://github.com/ironhack-labs/lab-typescript/pull/223#discussion_r188327228"},"pull_request":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223"}}},"pull_request":{"url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223","id":187960174,"html_url":"https://github.com/ironhack-labs/lab-typescript/pull/223","diff_url":"https://github.com/ironhack-labs/lab-typescript/pull/223.diff","patch_url":"https://github.com/ironhack-labs/lab-typescript/pull/223.patch","issue_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/223","number":223,"state":"open","locked":false,"title":"iterations complete","user":{"login":"in-theclauds","id":35116149,"avatar_url":"https://avatars3.githubusercontent.com/u/35116149?v=4","gravatar_id":"","url":"https://api.github.com/users/in-theclauds","html_url":"https://github.com/in-theclauds","followers_url":"https://api.github.com/users/in-theclauds/followers","following_url":"https://api.github.com/users/in-theclauds/following{/other_user}","gists_url":"https://api.github.com/users/in-theclauds/gists{/gist_id}","starred_url":"https://api.github.com/users/in-theclauds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in-theclauds/subscriptions","organizations_url":"https://api.github.com/users/in-theclauds/orgs","repos_url":"https://api.github.com/users/in-theclauds/repos","events_url":"https://api.github.com/users/in-theclauds/events{/privacy}","received_events_url":"https://api.github.com/users/in-theclauds/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-14T21:46:50Z","updated_at":"2018-05-15T15:54:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df5e7d7a8713df2368a152ed78fa1e4234df679d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223/commits","review_comments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223/comments","review_comment_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/223/comments","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/statuses/8e74e0b3ad8a922bf87c0d56913cf615c153232d","head":{"label":"in-theclauds:master","ref":"master","sha":"8e74e0b3ad8a922bf87c0d56913cf615c153232d","user":{"login":"in-theclauds","id":35116149,"avatar_url":"https://avatars3.githubusercontent.com/u/35116149?v=4","gravatar_id":"","url":"https://api.github.com/users/in-theclauds","html_url":"https://github.com/in-theclauds","followers_url":"https://api.github.com/users/in-theclauds/followers","following_url":"https://api.github.com/users/in-theclauds/following{/other_user}","gists_url":"https://api.github.com/users/in-theclauds/gists{/gist_id}","starred_url":"https://api.github.com/users/in-theclauds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in-theclauds/subscriptions","organizations_url":"https://api.github.com/users/in-theclauds/orgs","repos_url":"https://api.github.com/users/in-theclauds/repos","events_url":"https://api.github.com/users/in-theclauds/events{/privacy}","received_events_url":"https://api.github.com/users/in-theclauds/received_events","type":"User","site_admin":false},"repo":{"id":133378004,"name":"lab-typescript","full_name":"in-theclauds/lab-typescript","owner":{"login":"in-theclauds","id":35116149,"avatar_url":"https://avatars3.githubusercontent.com/u/35116149?v=4","gravatar_id":"","url":"https://api.github.com/users/in-theclauds","html_url":"https://github.com/in-theclauds","followers_url":"https://api.github.com/users/in-theclauds/followers","following_url":"https://api.github.com/users/in-theclauds/following{/other_user}","gists_url":"https://api.github.com/users/in-theclauds/gists{/gist_id}","starred_url":"https://api.github.com/users/in-theclauds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/in-theclauds/subscriptions","organizations_url":"https://api.github.com/users/in-theclauds/orgs","repos_url":"https://api.github.com/users/in-theclauds/repos","events_url":"https://api.github.com/users/in-theclauds/events{/privacy}","received_events_url":"https://api.github.com/users/in-theclauds/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/in-theclauds/lab-typescript","description":null,"fork":true,"url":"https://api.github.com/repos/in-theclauds/lab-typescript","forks_url":"https://api.github.com/repos/in-theclauds/lab-typescript/forks","keys_url":"https://api.github.com/repos/in-theclauds/lab-typescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/in-theclauds/lab-typescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/in-theclauds/lab-typescript/teams","hooks_url":"https://api.github.com/repos/in-theclauds/lab-typescript/hooks","issue_events_url":"https://api.github.com/repos/in-theclauds/lab-typescript/issues/events{/number}","events_url":"https://api.github.com/repos/in-theclauds/lab-typescript/events","assignees_url":"https://api.github.com/repos/in-theclauds/lab-typescript/assignees{/user}","branches_url":"https://api.github.com/repos/in-theclauds/lab-typescript/branches{/branch}","tags_url":"https://api.github.com/repos/in-theclauds/lab-typescript/tags","blobs_url":"https://api.github.com/repos/in-theclauds/lab-typescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/in-theclauds/lab-typescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/in-theclauds/lab-typescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/in-theclauds/lab-typescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/in-theclauds/lab-typescript/statuses/{sha}","languages_url":"https://api.github.com/repos/in-theclauds/lab-typescript/languages","stargazers_url":"https://api.github.com/repos/in-theclauds/lab-typescript/stargazers","contributors_url":"https://api.github.com/repos/in-theclauds/lab-typescript/contributors","subscribers_url":"https://api.github.com/repos/in-theclauds/lab-typescript/subscribers","subscription_url":"https://api.github.com/repos/in-theclauds/lab-typescript/subscription","commits_url":"https://api.github.com/repos/in-theclauds/lab-typescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/in-theclauds/lab-typescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/in-theclauds/lab-typescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/in-theclauds/lab-typescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/in-theclauds/lab-typescript/contents/{+path}","compare_url":"https://api.github.com/repos/in-theclauds/lab-typescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/in-theclauds/lab-typescript/merges","archive_url":"https://api.github.com/repos/in-theclauds/lab-typescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/in-theclauds/lab-typescript/downloads","issues_url":"https://api.github.com/repos/in-theclauds/lab-typescript/issues{/number}","pulls_url":"https://api.github.com/repos/in-theclauds/lab-typescript/pulls{/number}","milestones_url":"https://api.github.com/repos/in-theclauds/lab-typescript/milestones{/number}","notifications_url":"https://api.github.com/repos/in-theclauds/lab-typescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/in-theclauds/lab-typescript/labels{/name}","releases_url":"https://api.github.com/repos/in-theclauds/lab-typescript/releases{/id}","deployments_url":"https://api.github.com/repos/in-theclauds/lab-typescript/deployments","created_at":"2018-05-14T14:55:24Z","updated_at":"2018-05-14T18:42:28Z","pushed_at":"2018-05-14T18:42:27Z","git_url":"git://github.com/in-theclauds/lab-typescript.git","ssh_url":"git@github.com:in-theclauds/lab-typescript.git","clone_url":"https://github.com/in-theclauds/lab-typescript.git","svn_url":"https://github.com/in-theclauds/lab-typescript","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"ironhack-labs:master","ref":"master","sha":"649b415350db4280b0cf838bd50c7bf72f3a204c","user":{"login":"ironhack-labs","id":25032046,"avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":83300791,"name":"lab-typescript","full_name":"ironhack-labs/lab-typescript","owner":{"login":"ironhack-labs","id":25032046,"avatar_url":"https://avatars3.githubusercontent.com/u/25032046?v=4","gravatar_id":"","url":"https://api.github.com/users/ironhack-labs","html_url":"https://github.com/ironhack-labs","followers_url":"https://api.github.com/users/ironhack-labs/followers","following_url":"https://api.github.com/users/ironhack-labs/following{/other_user}","gists_url":"https://api.github.com/users/ironhack-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/ironhack-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironhack-labs/subscriptions","organizations_url":"https://api.github.com/users/ironhack-labs/orgs","repos_url":"https://api.github.com/users/ironhack-labs/repos","events_url":"https://api.github.com/users/ironhack-labs/events{/privacy}","received_events_url":"https://api.github.com/users/ironhack-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ironhack-labs/lab-typescript","description":null,"fork":false,"url":"https://api.github.com/repos/ironhack-labs/lab-typescript","forks_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/forks","keys_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/teams","hooks_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/hooks","issue_events_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/events{/number}","events_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/events","assignees_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/assignees{/user}","branches_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/branches{/branch}","tags_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/tags","blobs_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/refs{/sha}","trees_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/statuses/{sha}","languages_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/languages","stargazers_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/stargazers","contributors_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/contributors","subscribers_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/subscribers","subscription_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/subscription","commits_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/commits{/sha}","git_commits_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/git/commits{/sha}","comments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/comments{/number}","issue_comment_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/comments{/number}","contents_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/contents/{+path}","compare_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/merges","archive_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/downloads","issues_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues{/number}","pulls_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls{/number}","milestones_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/milestones{/number}","notifications_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/labels{/name}","releases_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/releases{/id}","deployments_url":"https://api.github.com/repos/ironhack-labs/lab-typescript/deployments","created_at":"2017-02-27T11:02:41Z","updated_at":"2018-05-03T08:00:57Z","pushed_at":"2018-05-15T13:55:54Z","git_url":"git://github.com/ironhack-labs/lab-typescript.git","ssh_url":"git@github.com:ironhack-labs/lab-typescript.git","clone_url":"https://github.com/ironhack-labs/lab-typescript.git","svn_url":"https://github.com/ironhack-labs/lab-typescript","homepage":null,"size":21,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":387,"mirror_url":null,"archived":false,"open_issues_count":22,"license":null,"forks":387,"open_issues":22,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223"},"html":{"href":"https://github.com/ironhack-labs/lab-typescript/pull/223"},"issue":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/223"},"comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/ironhack-labs/lab-typescript/statuses/8e74e0b3ad8a922bf87c0d56913cf615c153232d"}},"author_association":"NONE"}}
{"actor":{"display_login":"ianizaguirre"}}