{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/2e1599d22dce3e1661b6e63e8514b38e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"2e1599d22dce3e1661b6e63e8514b38e","url":"https://api.github.com/users/millermedeiros","login":"millermedeiros","id":155633},"assignee":null,"updated_at":"2011-11-16T18:39:05Z","labels":[{"name":"enhancement","color":"0b02e1","url":"https://api.github.com/repos/millermedeiros/amd-utils/labels/enhancement"},{"name":"feature","color":"d7e102","url":"https://api.github.com/repos/millermedeiros/amd-utils/labels/feature"}],"closed_at":null,"comments":0,"url":"https://api.github.com/repos/millermedeiros/amd-utils/issues/9","body":"as @pmcelhaney [suggested](https://github.com/millermedeiros/amd-utils/pull/8#issuecomment-2765368)\r\n\r\n```js\r\nchoice(-1,1) // 50% chance -1, 50% chance of 1 -- the same as randInt(-1,1,true)\r\nchoice(2,3,5,7) // 25% chance each of 2, 3, 5, or 7\r\n```","html_url":"https://github.com/millermedeiros/amd-utils/issues/9","title":"remove \"shouldSnap\" from random methods and add `choice` method","number":9,"id":2259947,"created_at":"2011-11-16T18:39:05Z"},"action":"opened"}