{"action":"created","issue":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/101","repository_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code","labels_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/101/comments","events_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/101/events","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/101","id":282011171,"number":101,"title":"Fix: validateNumber: check cooercian","user":{"login":"skatcat31","id":13894696,"avatar_url":"https://avatars1.githubusercontent.com/u/13894696?v=4","gravatar_id":"","url":"https://api.github.com/users/skatcat31","html_url":"https://github.com/skatcat31","followers_url":"https://api.github.com/users/skatcat31/followers","following_url":"https://api.github.com/users/skatcat31/following{/other_user}","gists_url":"https://api.github.com/users/skatcat31/gists{/gist_id}","starred_url":"https://api.github.com/users/skatcat31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatcat31/subscriptions","organizations_url":"https://api.github.com/users/skatcat31/orgs","repos_url":"https://api.github.com/users/skatcat31/repos","events_url":"https://api.github.com/users/skatcat31/events{/privacy}","received_events_url":"https://api.github.com/users/skatcat31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-14T07:56:07Z","updated_at":"2017-12-14T08:18:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/pulls/101","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/101","diff_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/101.diff","patch_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/101.patch"},"body":"now passes all 16 test cases:\r\n```js\r\n[\r\nvalidateNumber('10') // true\r\n,!validateNumber(false) // false\r\n,!validateNumber(true) // false\r\n,validateNumber(10) // true\r\n,validateNumber(0.10) // true\r\n,validateNumber(010) // true\r\n,validateNumber(0xA) // true\r\n,!validateNumber(NaN) // false\r\n,!validateNumber(null) // false\r\n,!validateNumber(undefined) // false\r\n,!validateNumber('10%') // false, % is a construct\r\n,!validateNumber('10px') // false\r\n,!validateNumber(Infinity) // false\r\n,validateNumber(Math.PI) // true, but is such an extreme edge case...\r\n,validateNumber(0) // true, will probably wreck things\r\n,validatenumber(1e10) // true\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/comments/351639672","html_url":"https://github.com/Chalarangelo/30-seconds-of-code/pull/101#issuecomment-351639672","issue_url":"https://api.github.com/repos/Chalarangelo/30-seconds-of-code/issues/101","id":351639672,"user":{"login":"skatcat31","id":13894696,"avatar_url":"https://avatars1.githubusercontent.com/u/13894696?v=4","gravatar_id":"","url":"https://api.github.com/users/skatcat31","html_url":"https://github.com/skatcat31","followers_url":"https://api.github.com/users/skatcat31/followers","following_url":"https://api.github.com/users/skatcat31/following{/other_user}","gists_url":"https://api.github.com/users/skatcat31/gists{/gist_id}","starred_url":"https://api.github.com/users/skatcat31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skatcat31/subscriptions","organizations_url":"https://api.github.com/users/skatcat31/orgs","repos_url":"https://api.github.com/users/skatcat31/repos","events_url":"https://api.github.com/users/skatcat31/events{/privacy}","received_events_url":"https://api.github.com/users/skatcat31/received_events","type":"User","site_admin":false},"created_at":"2017-12-14T08:18:50Z","updated_at":"2017-12-14T08:18:50Z","author_association":"NONE","body":"Updated to change the individual .md"}}
{"actor":{"display_login":"skatcat31"}}