{"action":"created","comment":{"url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/comments/128276067","pull_request_review_id":50938979,"id":128276067,"diff_hunk":"@@ -5,9 +5,14 @@\n // I've been asked this three times in separate interviews.\n \n for (var i = 1; i <= 10; i++) {\n-\tsetTimeout(function() {\n-\t\t// From looking at the code you would assume it would print 1 - 10\n-\t\t// It doesn't.  Why?  How can you make it print 1 - 10.\n-\t\tconsole.log(i);\n-\t}, 0);\n+  // console.log(i);\n+    var wrap = function(i) {","path":"forLoopTimeout/forLoopTimeout.js","position":10,"original_position":10,"commit_id":"64eed4cf2fe39ff457059ebf5c70e1b9f0ef6b53","original_commit_id":"64eed4cf2fe39ff457059ebf5c70e1b9f0ef6b53","user":{"login":"ryanhca","id":8798259,"avatar_url":"https://avatars2.githubusercontent.com/u/8798259?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanhca","html_url":"https://github.com/ryanhca","followers_url":"https://api.github.com/users/ryanhca/followers","following_url":"https://api.github.com/users/ryanhca/following{/other_user}","gists_url":"https://api.github.com/users/ryanhca/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhca/subscriptions","organizations_url":"https://api.github.com/users/ryanhca/orgs","repos_url":"https://api.github.com/users/ryanhca/repos","events_url":"https://api.github.com/users/ryanhca/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhca/received_events","type":"User","site_admin":false},"body":"Why not use es6?","created_at":"2017-07-19T15:10:14Z","updated_at":"2017-07-19T15:10:15Z","html_url":"https://github.com/ryanhca/CS1-Code-Challenges/pull/57#discussion_r128276067","pull_request_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/comments/128276067"},"html":{"href":"https://github.com/ryanhca/CS1-Code-Challenges/pull/57#discussion_r128276067"},"pull_request":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57","id":131231036,"html_url":"https://github.com/ryanhca/CS1-Code-Challenges/pull/57","diff_url":"https://github.com/ryanhca/CS1-Code-Challenges/pull/57.diff","patch_url":"https://github.com/ryanhca/CS1-Code-Challenges/pull/57.patch","issue_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues/57","number":57,"state":"open","locked":false,"title":"Last 3 code challenges","user":{"login":"ely-alamillo","id":24350492,"avatar_url":"https://avatars2.githubusercontent.com/u/24350492?v=4","gravatar_id":"","url":"https://api.github.com/users/ely-alamillo","html_url":"https://github.com/ely-alamillo","followers_url":"https://api.github.com/users/ely-alamillo/followers","following_url":"https://api.github.com/users/ely-alamillo/following{/other_user}","gists_url":"https://api.github.com/users/ely-alamillo/gists{/gist_id}","starred_url":"https://api.github.com/users/ely-alamillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ely-alamillo/subscriptions","organizations_url":"https://api.github.com/users/ely-alamillo/orgs","repos_url":"https://api.github.com/users/ely-alamillo/repos","events_url":"https://api.github.com/users/ely-alamillo/events{/privacy}","received_events_url":"https://api.github.com/users/ely-alamillo/received_events","type":"User","site_admin":false},"body":"I keep forgetting to submit a pull request for the challenges, so this one is for forLoopTimeout, evenOccurences, and callbackPractice.","created_at":"2017-07-19T03:39:06Z","updated_at":"2017-07-19T15:10:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"228ac11daaad4acb5cb809c872172a732d9d2586","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57/commits","review_comments_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57/comments","review_comment_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues/57/comments","statuses_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/statuses/64eed4cf2fe39ff457059ebf5c70e1b9f0ef6b53","head":{"label":"ely-alamillo:master","ref":"master","sha":"64eed4cf2fe39ff457059ebf5c70e1b9f0ef6b53","user":{"login":"ely-alamillo","id":24350492,"avatar_url":"https://avatars2.githubusercontent.com/u/24350492?v=4","gravatar_id":"","url":"https://api.github.com/users/ely-alamillo","html_url":"https://github.com/ely-alamillo","followers_url":"https://api.github.com/users/ely-alamillo/followers","following_url":"https://api.github.com/users/ely-alamillo/following{/other_user}","gists_url":"https://api.github.com/users/ely-alamillo/gists{/gist_id}","starred_url":"https://api.github.com/users/ely-alamillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ely-alamillo/subscriptions","organizations_url":"https://api.github.com/users/ely-alamillo/orgs","repos_url":"https://api.github.com/users/ely-alamillo/repos","events_url":"https://api.github.com/users/ely-alamillo/events{/privacy}","received_events_url":"https://api.github.com/users/ely-alamillo/received_events","type":"User","site_admin":false},"repo":{"id":96796628,"name":"CS1-Code-Challenges","full_name":"ely-alamillo/CS1-Code-Challenges","owner":{"login":"ely-alamillo","id":24350492,"avatar_url":"https://avatars2.githubusercontent.com/u/24350492?v=4","gravatar_id":"","url":"https://api.github.com/users/ely-alamillo","html_url":"https://github.com/ely-alamillo","followers_url":"https://api.github.com/users/ely-alamillo/followers","following_url":"https://api.github.com/users/ely-alamillo/following{/other_user}","gists_url":"https://api.github.com/users/ely-alamillo/gists{/gist_id}","starred_url":"https://api.github.com/users/ely-alamillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ely-alamillo/subscriptions","organizations_url":"https://api.github.com/users/ely-alamillo/orgs","repos_url":"https://api.github.com/users/ely-alamillo/repos","events_url":"https://api.github.com/users/ely-alamillo/events{/privacy}","received_events_url":"https://api.github.com/users/ely-alamillo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ely-alamillo/CS1-Code-Challenges","description":"A list of all the code challenges that the students of Lambda University will be doing.","fork":true,"url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges","forks_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/forks","keys_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/teams","hooks_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/hooks","issue_events_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/issues/events{/number}","events_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/events","assignees_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/assignees{/user}","branches_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/branches{/branch}","tags_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/tags","blobs_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/statuses/{sha}","languages_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/languages","stargazers_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/stargazers","contributors_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/contributors","subscribers_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/subscribers","subscription_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/subscription","commits_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/contents/{+path}","compare_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/merges","archive_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/downloads","issues_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/issues{/number}","pulls_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/pulls{/number}","milestones_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/milestones{/number}","notifications_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/labels{/name}","releases_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/releases{/id}","deployments_url":"https://api.github.com/repos/ely-alamillo/CS1-Code-Challenges/deployments","created_at":"2017-07-10T16:05:36Z","updated_at":"2017-07-10T16:05:37Z","pushed_at":"2017-07-19T03:35:21Z","git_url":"git://github.com/ely-alamillo/CS1-Code-Challenges.git","ssh_url":"git@github.com:ely-alamillo/CS1-Code-Challenges.git","clone_url":"https://github.com/ely-alamillo/CS1-Code-Challenges.git","svn_url":"https://github.com/ely-alamillo/CS1-Code-Challenges","homepage":null,"size":14,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ryanhca:master","ref":"master","sha":"8e86af6562401d02968f08ec15ed8db6e95a225d","user":{"login":"ryanhca","id":8798259,"avatar_url":"https://avatars2.githubusercontent.com/u/8798259?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanhca","html_url":"https://github.com/ryanhca","followers_url":"https://api.github.com/users/ryanhca/followers","following_url":"https://api.github.com/users/ryanhca/following{/other_user}","gists_url":"https://api.github.com/users/ryanhca/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhca/subscriptions","organizations_url":"https://api.github.com/users/ryanhca/orgs","repos_url":"https://api.github.com/users/ryanhca/repos","events_url":"https://api.github.com/users/ryanhca/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhca/received_events","type":"User","site_admin":false},"repo":{"id":96794176,"name":"CS1-Code-Challenges","full_name":"ryanhca/CS1-Code-Challenges","owner":{"login":"ryanhca","id":8798259,"avatar_url":"https://avatars2.githubusercontent.com/u/8798259?v=4","gravatar_id":"","url":"https://api.github.com/users/ryanhca","html_url":"https://github.com/ryanhca","followers_url":"https://api.github.com/users/ryanhca/followers","following_url":"https://api.github.com/users/ryanhca/following{/other_user}","gists_url":"https://api.github.com/users/ryanhca/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanhca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanhca/subscriptions","organizations_url":"https://api.github.com/users/ryanhca/orgs","repos_url":"https://api.github.com/users/ryanhca/repos","events_url":"https://api.github.com/users/ryanhca/events{/privacy}","received_events_url":"https://api.github.com/users/ryanhca/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryanhca/CS1-Code-Challenges","description":"A list of all the code challenges that the students of Lambda University will be doing.","fork":false,"url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges","forks_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/forks","keys_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/teams","hooks_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/hooks","issue_events_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues/events{/number}","events_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/events","assignees_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/assignees{/user}","branches_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/branches{/branch}","tags_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/tags","blobs_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/statuses/{sha}","languages_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/languages","stargazers_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/stargazers","contributors_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/contributors","subscribers_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/subscribers","subscription_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/subscription","commits_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/contents/{+path}","compare_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/merges","archive_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/downloads","issues_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues{/number}","pulls_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls{/number}","milestones_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/milestones{/number}","notifications_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/labels{/name}","releases_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/releases{/id}","deployments_url":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/deployments","created_at":"2017-07-10T15:41:20Z","updated_at":"2017-07-14T01:46:05Z","pushed_at":"2017-07-19T14:09:20Z","git_url":"git://github.com/ryanhca/CS1-Code-Challenges.git","ssh_url":"git@github.com:ryanhca/CS1-Code-Challenges.git","clone_url":"https://github.com/ryanhca/CS1-Code-Challenges.git","svn_url":"https://github.com/ryanhca/CS1-Code-Challenges","homepage":null,"size":7,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":11,"forks":27,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57"},"html":{"href":"https://github.com/ryanhca/CS1-Code-Challenges/pull/57"},"issue":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues/57"},"comments":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/ryanhca/CS1-Code-Challenges/statuses/64eed4cf2fe39ff457059ebf5c70e1b9f0ef6b53"}}}}
{"actor":{"display_login":"ryanhca"}}