{"action":"opened","number":35796,"pull_request":{"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/35796","id":268526161,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY4NTI2MTYx","html_url":"https://github.com/freeCodeCamp/freeCodeCamp/pull/35796","diff_url":"https://github.com/freeCodeCamp/freeCodeCamp/pull/35796.diff","patch_url":"https://github.com/freeCodeCamp/freeCodeCamp/pull/35796.patch","issue_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/35796","number":35796,"state":"open","locked":false,"title":"two equal signs for type coercion","user":{"login":"wesbragagt","id":40429790,"node_id":"MDQ6VXNlcjQwNDI5Nzkw","avatar_url":"https://avatars2.githubusercontent.com/u/40429790?v=4","gravatar_id":"","url":"https://api.github.com/users/wesbragagt","html_url":"https://github.com/wesbragagt","followers_url":"https://api.github.com/users/wesbragagt/followers","following_url":"https://api.github.com/users/wesbragagt/following{/other_user}","gists_url":"https://api.github.com/users/wesbragagt/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbragagt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbragagt/subscriptions","organizations_url":"https://api.github.com/users/wesbragagt/orgs","repos_url":"https://api.github.com/users/wesbragagt/repos","events_url":"https://api.github.com/users/wesbragagt/events{/privacy}","received_events_url":"https://api.github.com/users/wesbragagt/received_events","type":"User","site_admin":false},"body":"By using 2 equal signs javascript is able to use type coercion in order to compare numbers with string numbers as well, this is a better solution and it works well with the challenge.\r\n\r\n<!-- Please follow this checklist and put an x in each of the boxes, like this: [x]. It will ensure that our team takes your pull request seriously. -->\r\n\r\n- [ ] I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).\r\n- [ ] My pull request has a descriptive title (not a vague title like `Update index.md`)\r\n- [ ] My pull request targets the `master` branch of freeCodeCamp.\r\n- [ ] None of my changes are plagiarized from another source without proper attribution.\r\n- [ ] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)\r\n- [ ] My changes do not use shortened URLs or affiliate links.\r\n\r\n<!--If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.-->\r\n\r\nCloses #XXXXX\r\n","created_at":"2019-04-08T22:54:00Z","updated_at":"2019-04-08T22:54:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/35796/commits","review_comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/35796/comments","review_comment_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/35796/comments","statuses_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/statuses/1938db70b37228584f29556e47594e70892e246f","head":{"label":"wesbragagt:patch-1","ref":"patch-1","sha":"1938db70b37228584f29556e47594e70892e246f","user":{"login":"wesbragagt","id":40429790,"node_id":"MDQ6VXNlcjQwNDI5Nzkw","avatar_url":"https://avatars2.githubusercontent.com/u/40429790?v=4","gravatar_id":"","url":"https://api.github.com/users/wesbragagt","html_url":"https://github.com/wesbragagt","followers_url":"https://api.github.com/users/wesbragagt/followers","following_url":"https://api.github.com/users/wesbragagt/following{/other_user}","gists_url":"https://api.github.com/users/wesbragagt/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbragagt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbragagt/subscriptions","organizations_url":"https://api.github.com/users/wesbragagt/orgs","repos_url":"https://api.github.com/users/wesbragagt/repos","events_url":"https://api.github.com/users/wesbragagt/events{/privacy}","received_events_url":"https://api.github.com/users/wesbragagt/received_events","type":"User","site_admin":false},"repo":{"id":180244755,"node_id":"MDEwOlJlcG9zaXRvcnkxODAyNDQ3NTU=","name":"freeCodeCamp","full_name":"wesbragagt/freeCodeCamp","private":false,"owner":{"login":"wesbragagt","id":40429790,"node_id":"MDQ6VXNlcjQwNDI5Nzkw","avatar_url":"https://avatars2.githubusercontent.com/u/40429790?v=4","gravatar_id":"","url":"https://api.github.com/users/wesbragagt","html_url":"https://github.com/wesbragagt","followers_url":"https://api.github.com/users/wesbragagt/followers","following_url":"https://api.github.com/users/wesbragagt/following{/other_user}","gists_url":"https://api.github.com/users/wesbragagt/gists{/gist_id}","starred_url":"https://api.github.com/users/wesbragagt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wesbragagt/subscriptions","organizations_url":"https://api.github.com/users/wesbragagt/orgs","repos_url":"https://api.github.com/users/wesbragagt/repos","events_url":"https://api.github.com/users/wesbragagt/events{/privacy}","received_events_url":"https://api.github.com/users/wesbragagt/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wesbragagt/freeCodeCamp","description":"The https://www.freeCodeCamp.org open source codebase and curriculum. Learn to code for free together with millions of people.","fork":true,"url":"https://api.github.com/repos/wesbragagt/freeCodeCamp","forks_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/forks","keys_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/teams","hooks_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/hooks","issue_events_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/issues/events{/number}","events_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/events","assignees_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/assignees{/user}","branches_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/branches{/branch}","tags_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/tags","blobs_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/languages","stargazers_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/stargazers","contributors_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/contributors","subscribers_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/subscribers","subscription_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/subscription","commits_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/contents/{+path}","compare_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/merges","archive_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/downloads","issues_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/issues{/number}","pulls_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/labels{/name}","releases_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/releases{/id}","deployments_url":"https://api.github.com/repos/wesbragagt/freeCodeCamp/deployments","created_at":"2019-04-08T22:51:36Z","updated_at":"2019-04-08T22:52:40Z","pushed_at":"2019-04-08T22:53:12Z","git_url":"git://github.com/wesbragagt/freeCodeCamp.git","ssh_url":"git@github.com:wesbragagt/freeCodeCamp.git","clone_url":"https://github.com/wesbragagt/freeCodeCamp.git","svn_url":"https://github.com/wesbragagt/freeCodeCamp","homepage":"","size":113145,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"freeCodeCamp:master","ref":"master","sha":"8704a75844a6cd8401a8cd4cd1ceb5f3973e7548","user":{"login":"freeCodeCamp","id":9892522,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4OTI1MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/9892522?v=4","gravatar_id":"","url":"https://api.github.com/users/freeCodeCamp","html_url":"https://github.com/freeCodeCamp","followers_url":"https://api.github.com/users/freeCodeCamp/followers","following_url":"https://api.github.com/users/freeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/freeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/freeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/freeCodeCamp/orgs","repos_url":"https://api.github.com/users/freeCodeCamp/repos","events_url":"https://api.github.com/users/freeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/freeCodeCamp/received_events","type":"Organization","site_admin":false},"repo":{"id":28457823,"node_id":"MDEwOlJlcG9zaXRvcnkyODQ1NzgyMw==","name":"freeCodeCamp","full_name":"freeCodeCamp/freeCodeCamp","private":false,"owner":{"login":"freeCodeCamp","id":9892522,"node_id":"MDEyOk9yZ2FuaXphdGlvbjk4OTI1MjI=","avatar_url":"https://avatars0.githubusercontent.com/u/9892522?v=4","gravatar_id":"","url":"https://api.github.com/users/freeCodeCamp","html_url":"https://github.com/freeCodeCamp","followers_url":"https://api.github.com/users/freeCodeCamp/followers","following_url":"https://api.github.com/users/freeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/freeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/freeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/freeCodeCamp/orgs","repos_url":"https://api.github.com/users/freeCodeCamp/repos","events_url":"https://api.github.com/users/freeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/freeCodeCamp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/freeCodeCamp/freeCodeCamp","description":"The https://www.freeCodeCamp.org open source codebase and curriculum. Learn to code for free together with millions of people.","fork":false,"url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp","forks_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/forks","keys_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/teams","hooks_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/hooks","issue_events_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/events{/number}","events_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/events","assignees_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/assignees{/user}","branches_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/branches{/branch}","tags_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/tags","blobs_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/languages","stargazers_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/stargazers","contributors_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/contributors","subscribers_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/subscribers","subscription_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/subscription","commits_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/contents/{+path}","compare_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/merges","archive_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/downloads","issues_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues{/number}","pulls_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/labels{/name}","releases_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/releases{/id}","deployments_url":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/deployments","created_at":"2014-12-24T17:49:19Z","updated_at":"2019-04-08T22:18:51Z","pushed_at":"2019-04-08T22:24:26Z","git_url":"git://github.com/freeCodeCamp/freeCodeCamp.git","ssh_url":"git@github.com:freeCodeCamp/freeCodeCamp.git","clone_url":"https://github.com/freeCodeCamp/freeCodeCamp.git","svn_url":"https://github.com/freeCodeCamp/freeCodeCamp","homepage":"","size":113145,"stargazers_count":300809,"watchers_count":300809,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21442,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2769,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":21442,"open_issues":2769,"watchers":300809,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/35796"},"html":{"href":"https://github.com/freeCodeCamp/freeCodeCamp/pull/35796"},"issue":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/35796"},"comments":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/issues/35796/comments"},"review_comments":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/35796/comments"},"review_comment":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/pulls/35796/commits"},"statuses":{"href":"https://api.github.com/repos/freeCodeCamp/freeCodeCamp/statuses/1938db70b37228584f29556e47594e70892e246f"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"wesbragagt"}}