{"action":"created","comment":{"url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/comments/142306117","pull_request_review_id":66647378,"id":142306117,"diff_hunk":"@@ -99,11 +99,112 @@ class Mango {\n   */\n let mangoTree = new MangoTree()\n \n-console.log('\\nThe tree is alive! :smile:');\n+console.log('\\nThe mango tree is alive! :smile:');\n do {\n   mangoTree.grow();\n   mangoTree.produceMangoes();\n   mangoTree.harvest();\n   console.log(`[Year ${mangoTree.age} Report] Height = ${mangoTree.height} | Fruits harvested = ${mangoTree.harvested}`)\n } while (mangoTree.healtyStatus != false);\n-console.log('The tree has met its end. :sad:\\n');\n\\ No newline at end of file\n+console.log('The mango tree has met its end. :sad:\\n');\n+\n+//  --------------- end of Release 0 ---------------\n+\n+// Release 1\n+\n+class AppleTree {\n+  constructor() {\n+    this._age = 0;\n+    this._fruits = [];\n+    this._harvested = '';\n+    this._health = true;\n+    this._height = 0;\n+    this._maxAge = 25;\n+    this._maxGrowAge = 14;\n+  }\n+\n+  get age() {\n+    return this._age;\n+  }\n+\n+  get height() {\n+    return this._height;\n+  }\n+\n+  get fruits() {\n+    return this._fruits;\n+  }\n+\n+  get harvested() {\n+    return this._harvested;\n+  }\n+\n+  get healtyStatus() {\n+    if (this._age >= this._maxAge) return false;\n+    else return true;\n+  }\n+\n+  grow() {\n+    let growthRate = (Math.ceil(Math.random() * 20) + 10) / 100; // random 0.1 - 0.3\n+    this._age++;\n+","path":"mango_tree.js","position":47,"original_position":55,"commit_id":"d9f407f4d19c44ca632caf0066056938139eee01","original_commit_id":"950f2b1bb984ef444d0e9053a4741e4d5dac3d5b","user":{"login":"alfandash","id":5524272,"avatar_url":"https://avatars0.githubusercontent.com/u/5524272?v=4","gravatar_id":"","url":"https://api.github.com/users/alfandash","html_url":"https://github.com/alfandash","followers_url":"https://api.github.com/users/alfandash/followers","following_url":"https://api.github.com/users/alfandash/following{/other_user}","gists_url":"https://api.github.com/users/alfandash/gists{/gist_id}","starred_url":"https://api.github.com/users/alfandash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfandash/subscriptions","organizations_url":"https://api.github.com/users/alfandash/orgs","repos_url":"https://api.github.com/users/alfandash/repos","events_url":"https://api.github.com/users/alfandash/events{/privacy}","received_events_url":"https://api.github.com/users/alfandash/received_events","type":"User","site_admin":false},"body":"Hilangkan sepasi yang tidak perlu","created_at":"2017-10-03T03:38:02Z","updated_at":"2017-10-03T03:38:03Z","html_url":"https://github.com/island-fox-2017/mango-tree/pull/2#discussion_r142306117","pull_request_url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/comments/142306117"},"html":{"href":"https://github.com/island-fox-2017/mango-tree/pull/2#discussion_r142306117"},"pull_request":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2","id":128635928,"html_url":"https://github.com/island-fox-2017/mango-tree/pull/2","diff_url":"https://github.com/island-fox-2017/mango-tree/pull/2.diff","patch_url":"https://github.com/island-fox-2017/mango-tree/pull/2.patch","issue_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/2","number":2,"state":"open","locked":false,"title":"ahmad fajar - mango tree","user":{"login":"ahmad-fajar","id":27484271,"avatar_url":"https://avatars1.githubusercontent.com/u/27484271?v=4","gravatar_id":"","url":"https://api.github.com/users/ahmad-fajar","html_url":"https://github.com/ahmad-fajar","followers_url":"https://api.github.com/users/ahmad-fajar/followers","following_url":"https://api.github.com/users/ahmad-fajar/following{/other_user}","gists_url":"https://api.github.com/users/ahmad-fajar/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmad-fajar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmad-fajar/subscriptions","organizations_url":"https://api.github.com/users/ahmad-fajar/orgs","repos_url":"https://api.github.com/users/ahmad-fajar/repos","events_url":"https://api.github.com/users/ahmad-fajar/events{/privacy}","received_events_url":"https://api.github.com/users/ahmad-fajar/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-03T14:04:07Z","updated_at":"2017-10-03T03:38:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcd6dc345522a5d1e998f3bba9a04cc7af4f3b4d","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2/commits","review_comments_url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2/comments","review_comment_url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/2/comments","statuses_url":"https://api.github.com/repos/island-fox-2017/mango-tree/statuses/d9f407f4d19c44ca632caf0066056938139eee01","head":{"label":"island-fox-2017:ahmad-fajar","ref":"ahmad-fajar","sha":"d9f407f4d19c44ca632caf0066056938139eee01","user":{"login":"island-fox-2017","id":28806741,"avatar_url":"https://avatars1.githubusercontent.com/u/28806741?v=4","gravatar_id":"","url":"https://api.github.com/users/island-fox-2017","html_url":"https://github.com/island-fox-2017","followers_url":"https://api.github.com/users/island-fox-2017/followers","following_url":"https://api.github.com/users/island-fox-2017/following{/other_user}","gists_url":"https://api.github.com/users/island-fox-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/island-fox-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/island-fox-2017/subscriptions","organizations_url":"https://api.github.com/users/island-fox-2017/orgs","repos_url":"https://api.github.com/users/island-fox-2017/repos","events_url":"https://api.github.com/users/island-fox-2017/events{/privacy}","received_events_url":"https://api.github.com/users/island-fox-2017/received_events","type":"Organization","site_admin":false},"repo":{"id":96060945,"name":"mango-tree","full_name":"island-fox-2017/mango-tree","owner":{"login":"island-fox-2017","id":28806741,"avatar_url":"https://avatars1.githubusercontent.com/u/28806741?v=4","gravatar_id":"","url":"https://api.github.com/users/island-fox-2017","html_url":"https://github.com/island-fox-2017","followers_url":"https://api.github.com/users/island-fox-2017/followers","following_url":"https://api.github.com/users/island-fox-2017/following{/other_user}","gists_url":"https://api.github.com/users/island-fox-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/island-fox-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/island-fox-2017/subscriptions","organizations_url":"https://api.github.com/users/island-fox-2017/orgs","repos_url":"https://api.github.com/users/island-fox-2017/repos","events_url":"https://api.github.com/users/island-fox-2017/events{/privacy}","received_events_url":"https://api.github.com/users/island-fox-2017/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/island-fox-2017/mango-tree","description":null,"fork":false,"url":"https://api.github.com/repos/island-fox-2017/mango-tree","forks_url":"https://api.github.com/repos/island-fox-2017/mango-tree/forks","keys_url":"https://api.github.com/repos/island-fox-2017/mango-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/island-fox-2017/mango-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/island-fox-2017/mango-tree/teams","hooks_url":"https://api.github.com/repos/island-fox-2017/mango-tree/hooks","issue_events_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/events{/number}","events_url":"https://api.github.com/repos/island-fox-2017/mango-tree/events","assignees_url":"https://api.github.com/repos/island-fox-2017/mango-tree/assignees{/user}","branches_url":"https://api.github.com/repos/island-fox-2017/mango-tree/branches{/branch}","tags_url":"https://api.github.com/repos/island-fox-2017/mango-tree/tags","blobs_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/island-fox-2017/mango-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/island-fox-2017/mango-tree/languages","stargazers_url":"https://api.github.com/repos/island-fox-2017/mango-tree/stargazers","contributors_url":"https://api.github.com/repos/island-fox-2017/mango-tree/contributors","subscribers_url":"https://api.github.com/repos/island-fox-2017/mango-tree/subscribers","subscription_url":"https://api.github.com/repos/island-fox-2017/mango-tree/subscription","commits_url":"https://api.github.com/repos/island-fox-2017/mango-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/island-fox-2017/mango-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/island-fox-2017/mango-tree/contents/{+path}","compare_url":"https://api.github.com/repos/island-fox-2017/mango-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/island-fox-2017/mango-tree/merges","archive_url":"https://api.github.com/repos/island-fox-2017/mango-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/island-fox-2017/mango-tree/downloads","issues_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues{/number}","pulls_url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/island-fox-2017/mango-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/island-fox-2017/mango-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/island-fox-2017/mango-tree/labels{/name}","releases_url":"https://api.github.com/repos/island-fox-2017/mango-tree/releases{/id}","deployments_url":"https://api.github.com/repos/island-fox-2017/mango-tree/deployments","created_at":"2017-07-03T01:58:38Z","updated_at":"2017-07-03T01:58:50Z","pushed_at":"2017-07-10T01:22:13Z","git_url":"git://github.com/island-fox-2017/mango-tree.git","ssh_url":"git@github.com:island-fox-2017/mango-tree.git","clone_url":"https://github.com/island-fox-2017/mango-tree.git","svn_url":"https://github.com/island-fox-2017/mango-tree","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"island-fox-2017:master","ref":"master","sha":"e4be0ee2a5d043bb8fccb10c29912cf26477f26c","user":{"login":"island-fox-2017","id":28806741,"avatar_url":"https://avatars1.githubusercontent.com/u/28806741?v=4","gravatar_id":"","url":"https://api.github.com/users/island-fox-2017","html_url":"https://github.com/island-fox-2017","followers_url":"https://api.github.com/users/island-fox-2017/followers","following_url":"https://api.github.com/users/island-fox-2017/following{/other_user}","gists_url":"https://api.github.com/users/island-fox-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/island-fox-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/island-fox-2017/subscriptions","organizations_url":"https://api.github.com/users/island-fox-2017/orgs","repos_url":"https://api.github.com/users/island-fox-2017/repos","events_url":"https://api.github.com/users/island-fox-2017/events{/privacy}","received_events_url":"https://api.github.com/users/island-fox-2017/received_events","type":"Organization","site_admin":false},"repo":{"id":96060945,"name":"mango-tree","full_name":"island-fox-2017/mango-tree","owner":{"login":"island-fox-2017","id":28806741,"avatar_url":"https://avatars1.githubusercontent.com/u/28806741?v=4","gravatar_id":"","url":"https://api.github.com/users/island-fox-2017","html_url":"https://github.com/island-fox-2017","followers_url":"https://api.github.com/users/island-fox-2017/followers","following_url":"https://api.github.com/users/island-fox-2017/following{/other_user}","gists_url":"https://api.github.com/users/island-fox-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/island-fox-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/island-fox-2017/subscriptions","organizations_url":"https://api.github.com/users/island-fox-2017/orgs","repos_url":"https://api.github.com/users/island-fox-2017/repos","events_url":"https://api.github.com/users/island-fox-2017/events{/privacy}","received_events_url":"https://api.github.com/users/island-fox-2017/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/island-fox-2017/mango-tree","description":null,"fork":false,"url":"https://api.github.com/repos/island-fox-2017/mango-tree","forks_url":"https://api.github.com/repos/island-fox-2017/mango-tree/forks","keys_url":"https://api.github.com/repos/island-fox-2017/mango-tree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/island-fox-2017/mango-tree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/island-fox-2017/mango-tree/teams","hooks_url":"https://api.github.com/repos/island-fox-2017/mango-tree/hooks","issue_events_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/events{/number}","events_url":"https://api.github.com/repos/island-fox-2017/mango-tree/events","assignees_url":"https://api.github.com/repos/island-fox-2017/mango-tree/assignees{/user}","branches_url":"https://api.github.com/repos/island-fox-2017/mango-tree/branches{/branch}","tags_url":"https://api.github.com/repos/island-fox-2017/mango-tree/tags","blobs_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/refs{/sha}","trees_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/island-fox-2017/mango-tree/statuses/{sha}","languages_url":"https://api.github.com/repos/island-fox-2017/mango-tree/languages","stargazers_url":"https://api.github.com/repos/island-fox-2017/mango-tree/stargazers","contributors_url":"https://api.github.com/repos/island-fox-2017/mango-tree/contributors","subscribers_url":"https://api.github.com/repos/island-fox-2017/mango-tree/subscribers","subscription_url":"https://api.github.com/repos/island-fox-2017/mango-tree/subscription","commits_url":"https://api.github.com/repos/island-fox-2017/mango-tree/commits{/sha}","git_commits_url":"https://api.github.com/repos/island-fox-2017/mango-tree/git/commits{/sha}","comments_url":"https://api.github.com/repos/island-fox-2017/mango-tree/comments{/number}","issue_comment_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/comments{/number}","contents_url":"https://api.github.com/repos/island-fox-2017/mango-tree/contents/{+path}","compare_url":"https://api.github.com/repos/island-fox-2017/mango-tree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/island-fox-2017/mango-tree/merges","archive_url":"https://api.github.com/repos/island-fox-2017/mango-tree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/island-fox-2017/mango-tree/downloads","issues_url":"https://api.github.com/repos/island-fox-2017/mango-tree/issues{/number}","pulls_url":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls{/number}","milestones_url":"https://api.github.com/repos/island-fox-2017/mango-tree/milestones{/number}","notifications_url":"https://api.github.com/repos/island-fox-2017/mango-tree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/island-fox-2017/mango-tree/labels{/name}","releases_url":"https://api.github.com/repos/island-fox-2017/mango-tree/releases{/id}","deployments_url":"https://api.github.com/repos/island-fox-2017/mango-tree/deployments","created_at":"2017-07-03T01:58:38Z","updated_at":"2017-07-03T01:58:50Z","pushed_at":"2017-07-10T01:22:13Z","git_url":"git://github.com/island-fox-2017/mango-tree.git","ssh_url":"git@github.com:island-fox-2017/mango-tree.git","clone_url":"https://github.com/island-fox-2017/mango-tree.git","svn_url":"https://github.com/island-fox-2017/mango-tree","homepage":null,"size":26,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2"},"html":{"href":"https://github.com/island-fox-2017/mango-tree/pull/2"},"issue":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/2"},"comments":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/island-fox-2017/mango-tree/statuses/d9f407f4d19c44ca632caf0066056938139eee01"}},"author_association":"NONE"}}
{"actor":{"display_login":"alfandash"}}