{"action":"created","comment":{"url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/comments/222928924","pull_request_review_id":161935586,"id":222928924,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjkyODkyNA==","diff_hunk":"@@ -0,0 +1,32 @@\n+function forward_euler(time_step, n) {\n+    var arr = [];\n+    arr[0] = 1;\n+    for (var i = 1; i <= n; i++) {","path":"contents/forward_euler_method/code/javascript/euler.js","position":4,"original_position":4,"commit_id":"252f9c3afa2193f44dd8508ef8fe1e80ff9e5492","original_commit_id":"252f9c3afa2193f44dd8508ef8fe1e80ff9e5492","user":{"login":"Gustorn","id":2189776,"node_id":"MDQ6VXNlcjIxODk3NzY=","avatar_url":"https://avatars1.githubusercontent.com/u/2189776?v=4","gravatar_id":"","url":"https://api.github.com/users/Gustorn","html_url":"https://github.com/Gustorn","followers_url":"https://api.github.com/users/Gustorn/followers","following_url":"https://api.github.com/users/Gustorn/following{/other_user}","gists_url":"https://api.github.com/users/Gustorn/gists{/gist_id}","starred_url":"https://api.github.com/users/Gustorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gustorn/subscriptions","organizations_url":"https://api.github.com/users/Gustorn/orgs","repos_url":"https://api.github.com/users/Gustorn/repos","events_url":"https://api.github.com/users/Gustorn/events{/privacy}","received_events_url":"https://api.github.com/users/Gustorn/received_events","type":"User","site_admin":false},"body":"Same thing about `var` as above. `let` would be the replacement here","created_at":"2018-10-05T08:32:08Z","updated_at":"2018-10-05T08:37:56Z","html_url":"https://github.com/algorithm-archivists/algorithm-archive/pull/418#discussion_r222928924","pull_request_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/comments/222928924"},"html":{"href":"https://github.com/algorithm-archivists/algorithm-archive/pull/418#discussion_r222928924"},"pull_request":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418"}}},"pull_request":{"url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418","id":219729692,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NzI5Njky","html_url":"https://github.com/algorithm-archivists/algorithm-archive/pull/418","diff_url":"https://github.com/algorithm-archivists/algorithm-archive/pull/418.diff","patch_url":"https://github.com/algorithm-archivists/algorithm-archive/pull/418.patch","issue_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues/418","number":418,"state":"open","locked":false,"title":"Forward Euler in JavaScript","user":{"login":"depate","id":12593639,"node_id":"MDQ6VXNlcjEyNTkzNjM5","avatar_url":"https://avatars3.githubusercontent.com/u/12593639?v=4","gravatar_id":"","url":"https://api.github.com/users/depate","html_url":"https://github.com/depate","followers_url":"https://api.github.com/users/depate/followers","following_url":"https://api.github.com/users/depate/following{/other_user}","gists_url":"https://api.github.com/users/depate/gists{/gist_id}","starred_url":"https://api.github.com/users/depate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depate/subscriptions","organizations_url":"https://api.github.com/users/depate/orgs","repos_url":"https://api.github.com/users/depate/repos","events_url":"https://api.github.com/users/depate/events{/privacy}","received_events_url":"https://api.github.com/users/depate/received_events","type":"User","site_admin":false},"body":"Hey all!\r\n\r\nForward Euler in JS.\r\nFirst time I did something in JS, so I really appreciate any constructive criticism about the code.\r\n\r\nRegards\r\ndepate","created_at":"2018-10-02T14:42:30Z","updated_at":"2018-10-05T08:37:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1784ae77ec9a118c1939fb8ca6f9900492caf567","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1073065218,"node_id":"MDU6TGFiZWwxMDczMDY1MjE4","url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/labels/Hacktoberfest","name":"Hacktoberfest","color":"59273e","default":false},{"id":917133710,"node_id":"MDU6TGFiZWw5MTcxMzM3MTA=","url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/labels/Implementation","name":"Implementation","color":"0960e2","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418/commits","review_comments_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418/comments","review_comment_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues/418/comments","statuses_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/statuses/252f9c3afa2193f44dd8508ef8fe1e80ff9e5492","head":{"label":"depate:euler_javascript","ref":"euler_javascript","sha":"252f9c3afa2193f44dd8508ef8fe1e80ff9e5492","user":{"login":"depate","id":12593639,"node_id":"MDQ6VXNlcjEyNTkzNjM5","avatar_url":"https://avatars3.githubusercontent.com/u/12593639?v=4","gravatar_id":"","url":"https://api.github.com/users/depate","html_url":"https://github.com/depate","followers_url":"https://api.github.com/users/depate/followers","following_url":"https://api.github.com/users/depate/following{/other_user}","gists_url":"https://api.github.com/users/depate/gists{/gist_id}","starred_url":"https://api.github.com/users/depate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depate/subscriptions","organizations_url":"https://api.github.com/users/depate/orgs","repos_url":"https://api.github.com/users/depate/repos","events_url":"https://api.github.com/users/depate/events{/privacy}","received_events_url":"https://api.github.com/users/depate/received_events","type":"User","site_admin":false},"repo":{"id":147206470,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyMDY0NzA=","name":"algorithm-archive","full_name":"depate/algorithm-archive","private":false,"owner":{"login":"depate","id":12593639,"node_id":"MDQ6VXNlcjEyNTkzNjM5","avatar_url":"https://avatars3.githubusercontent.com/u/12593639?v=4","gravatar_id":"","url":"https://api.github.com/users/depate","html_url":"https://github.com/depate","followers_url":"https://api.github.com/users/depate/followers","following_url":"https://api.github.com/users/depate/following{/other_user}","gists_url":"https://api.github.com/users/depate/gists{/gist_id}","starred_url":"https://api.github.com/users/depate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depate/subscriptions","organizations_url":"https://api.github.com/users/depate/orgs","repos_url":"https://api.github.com/users/depate/repos","events_url":"https://api.github.com/users/depate/events{/privacy}","received_events_url":"https://api.github.com/users/depate/received_events","type":"User","site_admin":false},"html_url":"https://github.com/depate/algorithm-archive","description":"A collaborative book on algorithms","fork":true,"url":"https://api.github.com/repos/depate/algorithm-archive","forks_url":"https://api.github.com/repos/depate/algorithm-archive/forks","keys_url":"https://api.github.com/repos/depate/algorithm-archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/depate/algorithm-archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/depate/algorithm-archive/teams","hooks_url":"https://api.github.com/repos/depate/algorithm-archive/hooks","issue_events_url":"https://api.github.com/repos/depate/algorithm-archive/issues/events{/number}","events_url":"https://api.github.com/repos/depate/algorithm-archive/events","assignees_url":"https://api.github.com/repos/depate/algorithm-archive/assignees{/user}","branches_url":"https://api.github.com/repos/depate/algorithm-archive/branches{/branch}","tags_url":"https://api.github.com/repos/depate/algorithm-archive/tags","blobs_url":"https://api.github.com/repos/depate/algorithm-archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/depate/algorithm-archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/depate/algorithm-archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/depate/algorithm-archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/depate/algorithm-archive/statuses/{sha}","languages_url":"https://api.github.com/repos/depate/algorithm-archive/languages","stargazers_url":"https://api.github.com/repos/depate/algorithm-archive/stargazers","contributors_url":"https://api.github.com/repos/depate/algorithm-archive/contributors","subscribers_url":"https://api.github.com/repos/depate/algorithm-archive/subscribers","subscription_url":"https://api.github.com/repos/depate/algorithm-archive/subscription","commits_url":"https://api.github.com/repos/depate/algorithm-archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/depate/algorithm-archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/depate/algorithm-archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/depate/algorithm-archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/depate/algorithm-archive/contents/{+path}","compare_url":"https://api.github.com/repos/depate/algorithm-archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/depate/algorithm-archive/merges","archive_url":"https://api.github.com/repos/depate/algorithm-archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/depate/algorithm-archive/downloads","issues_url":"https://api.github.com/repos/depate/algorithm-archive/issues{/number}","pulls_url":"https://api.github.com/repos/depate/algorithm-archive/pulls{/number}","milestones_url":"https://api.github.com/repos/depate/algorithm-archive/milestones{/number}","notifications_url":"https://api.github.com/repos/depate/algorithm-archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/depate/algorithm-archive/labels{/name}","releases_url":"https://api.github.com/repos/depate/algorithm-archive/releases{/id}","deployments_url":"https://api.github.com/repos/depate/algorithm-archive/deployments","created_at":"2018-09-03T13:08:19Z","updated_at":"2018-10-02T22:18:14Z","pushed_at":"2018-10-04T20:47:56Z","git_url":"git://github.com/depate/algorithm-archive.git","ssh_url":"git@github.com:depate/algorithm-archive.git","clone_url":"https://github.com/depate/algorithm-archive.git","svn_url":"https://github.com/depate/algorithm-archive","homepage":"https://www.algorithm-archive.org","size":8808,"stargazers_count":0,"watchers_count":0,"language":"C","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"algorithm-archivists:master","ref":"master","sha":"684475caf9d326cb89f0cc3cd0e3e7534ee22ae9","user":{"login":"algorithm-archivists","id":38796691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Nzk2Njkx","avatar_url":"https://avatars2.githubusercontent.com/u/38796691?v=4","gravatar_id":"","url":"https://api.github.com/users/algorithm-archivists","html_url":"https://github.com/algorithm-archivists","followers_url":"https://api.github.com/users/algorithm-archivists/followers","following_url":"https://api.github.com/users/algorithm-archivists/following{/other_user}","gists_url":"https://api.github.com/users/algorithm-archivists/gists{/gist_id}","starred_url":"https://api.github.com/users/algorithm-archivists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algorithm-archivists/subscriptions","organizations_url":"https://api.github.com/users/algorithm-archivists/orgs","repos_url":"https://api.github.com/users/algorithm-archivists/repos","events_url":"https://api.github.com/users/algorithm-archivists/events{/privacy}","received_events_url":"https://api.github.com/users/algorithm-archivists/received_events","type":"Organization","site_admin":false},"repo":{"id":81649789,"node_id":"MDEwOlJlcG9zaXRvcnk4MTY0OTc4OQ==","name":"algorithm-archive","full_name":"algorithm-archivists/algorithm-archive","private":false,"owner":{"login":"algorithm-archivists","id":38796691,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4Nzk2Njkx","avatar_url":"https://avatars2.githubusercontent.com/u/38796691?v=4","gravatar_id":"","url":"https://api.github.com/users/algorithm-archivists","html_url":"https://github.com/algorithm-archivists","followers_url":"https://api.github.com/users/algorithm-archivists/followers","following_url":"https://api.github.com/users/algorithm-archivists/following{/other_user}","gists_url":"https://api.github.com/users/algorithm-archivists/gists{/gist_id}","starred_url":"https://api.github.com/users/algorithm-archivists/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algorithm-archivists/subscriptions","organizations_url":"https://api.github.com/users/algorithm-archivists/orgs","repos_url":"https://api.github.com/users/algorithm-archivists/repos","events_url":"https://api.github.com/users/algorithm-archivists/events{/privacy}","received_events_url":"https://api.github.com/users/algorithm-archivists/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/algorithm-archivists/algorithm-archive","description":"A collaborative book on algorithms","fork":false,"url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive","forks_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/forks","keys_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/teams","hooks_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/hooks","issue_events_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues/events{/number}","events_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/events","assignees_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/assignees{/user}","branches_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/branches{/branch}","tags_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/tags","blobs_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/statuses/{sha}","languages_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/languages","stargazers_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/stargazers","contributors_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/contributors","subscribers_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/subscribers","subscription_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/subscription","commits_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/contents/{+path}","compare_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/merges","archive_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/downloads","issues_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues{/number}","pulls_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls{/number}","milestones_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/milestones{/number}","notifications_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/labels{/name}","releases_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/releases{/id}","deployments_url":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/deployments","created_at":"2017-02-11T11:52:40Z","updated_at":"2018-10-05T08:22:56Z","pushed_at":"2018-10-05T08:22:48Z","git_url":"git://github.com/algorithm-archivists/algorithm-archive.git","ssh_url":"git@github.com:algorithm-archivists/algorithm-archive.git","clone_url":"https://github.com/algorithm-archivists/algorithm-archive.git","svn_url":"https://github.com/algorithm-archivists/algorithm-archive","homepage":"https://www.algorithm-archive.org","size":8762,"stargazers_count":656,"watchers_count":656,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":165,"mirror_url":null,"archived":false,"open_issues_count":65,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":165,"open_issues":65,"watchers":656,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418"},"html":{"href":"https://github.com/algorithm-archivists/algorithm-archive/pull/418"},"issue":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues/418"},"comments":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/issues/418/comments"},"review_comments":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418/comments"},"review_comment":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/pulls/418/commits"},"statuses":{"href":"https://api.github.com/repos/algorithm-archivists/algorithm-archive/statuses/252f9c3afa2193f44dd8508ef8fe1e80ff9e5492"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Gustorn"}}