{"action":"created","issue":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/4194","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/4194/labels{/name}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/4194/comments","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/4194/events","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/4194","id":115349142,"number":4194,"title":"This code passes when it never actually produces a whole number as per directions.","user":{"login":"jebalert","id":12172545,"avatar_url":"https://avatars.githubusercontent.com/u/12172545?v=3","gravatar_id":"","url":"https://api.github.com/users/jebalert","html_url":"https://github.com/jebalert","followers_url":"https://api.github.com/users/jebalert/followers","following_url":"https://api.github.com/users/jebalert/following{/other_user}","gists_url":"https://api.github.com/users/jebalert/gists{/gist_id}","starred_url":"https://api.github.com/users/jebalert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jebalert/subscriptions","organizations_url":"https://api.github.com/users/jebalert/orgs","repos_url":"https://api.github.com/users/jebalert/repos","events_url":"https://api.github.com/users/jebalert/events{/privacy}","received_events_url":"https://api.github.com/users/jebalert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-05T18:55:38Z","updated_at":"2015-11-05T19:27:00Z","closed_at":null,"body":"Challenge [Waypoint: Generate Random Whole Numbers with JavaScript](http://www.freecodecamp.com/challenges/waypoint-generate-random-whole-numbers-with-javascript#?solution=var%20randomNumberBetween0and19%20%3D%20Math.floor(Math.random()%20*%2020)%3B%0A%0Afunction%20myFunction()%7B%0A%0A%20%20%2F%2F%20Only%20change%20code%20below%20this%20line.%0A%20%20Math.floor(Math.random()%20*%2010%20)%3B%0A%20%20return%20Math.random()%3B%0A%20%20%0A%20%20%2F%2F%20Only%20change%20code%20above%20this%20line.%0A%7D%0A%0A(function()%7Breturn%20myFunction()%3B%7D)()%3B%0A) has an issue.\r\nUser Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56</code>.\r\nPlease describe how to reproduce this issue, and include links to screenshots if possible.\r\n\r\nMy code:\r\n```javascript\r\nvar randomNumberBetween0and19 = Math.floor(Math.random() * 20);\r\n\r\nfunction myFunction(){\r\n\r\n  // Only change code below this line.\r\n  Math.floor(Math.random() * 10 );\r\n  return Math.random();\r\n  \r\n  // Only change code above this line.\r\n}\r\n\r\n(function(){return myFunction();})();\r\n\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments/154163057","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/issues/4194#issuecomment-154163057","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/4194","id":154163057,"user":{"login":"abhisekp","id":1029200,"avatar_url":"https://avatars.githubusercontent.com/u/1029200?v=3","gravatar_id":"","url":"https://api.github.com/users/abhisekp","html_url":"https://github.com/abhisekp","followers_url":"https://api.github.com/users/abhisekp/followers","following_url":"https://api.github.com/users/abhisekp/following{/other_user}","gists_url":"https://api.github.com/users/abhisekp/gists{/gist_id}","starred_url":"https://api.github.com/users/abhisekp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhisekp/subscriptions","organizations_url":"https://api.github.com/users/abhisekp/orgs","repos_url":"https://api.github.com/users/abhisekp/repos","events_url":"https://api.github.com/users/abhisekp/events{/privacy}","received_events_url":"https://api.github.com/users/abhisekp/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T19:27:00Z","updated_at":"2015-11-05T19:27:00Z","body":"Test case needs to be added to check for a whole number output between 0 and 9."}}