{"action":"created","issue":{"url":"https://api.github.com/repos/processing/p5.js/issues/1456","repository_url":"https://api.github.com/repos/processing/p5.js","labels_url":"https://api.github.com/repos/processing/p5.js/issues/1456/labels{/name}","comments_url":"https://api.github.com/repos/processing/p5.js/issues/1456/comments","events_url":"https://api.github.com/repos/processing/p5.js/issues/1456/events","html_url":"https://github.com/processing/p5.js/pull/1456","id":159449507,"number":1456,"title":"add random(Array) to get a random element from an array of choices","user":{"login":"nthitz","id":1482377,"avatar_url":"https://avatars.githubusercontent.com/u/1482377?v=3","gravatar_id":"","url":"https://api.github.com/users/nthitz","html_url":"https://github.com/nthitz","followers_url":"https://api.github.com/users/nthitz/followers","following_url":"https://api.github.com/users/nthitz/following{/other_user}","gists_url":"https://api.github.com/users/nthitz/gists{/gist_id}","starred_url":"https://api.github.com/users/nthitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nthitz/subscriptions","organizations_url":"https://api.github.com/users/nthitz/orgs","repos_url":"https://api.github.com/users/nthitz/repos","events_url":"https://api.github.com/users/nthitz/events{/privacy}","received_events_url":"https://api.github.com/users/nthitz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-09T16:17:23Z","updated_at":"2016-06-11T10:35:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/processing/p5.js/pulls/1456","html_url":"https://github.com/processing/p5.js/pull/1456","diff_url":"https://github.com/processing/p5.js/pull/1456.diff","patch_url":"https://github.com/processing/p5.js/pull/1456.patch"},"body":"Apologies if I'm stepping on toes but I think this addresses the desired outcome in #1331. Was a little unsure if I got the inline documentation correct (and may make sense to remove the previous array example?) but things looked good locally."},"comment":{"url":"https://api.github.com/repos/processing/p5.js/issues/comments/225351124","html_url":"https://github.com/processing/p5.js/pull/1456#issuecomment-225351124","issue_url":"https://api.github.com/repos/processing/p5.js/issues/1456","id":225351124,"user":{"login":"toolness","id":124687,"avatar_url":"https://avatars.githubusercontent.com/u/124687?v=3","gravatar_id":"","url":"https://api.github.com/users/toolness","html_url":"https://github.com/toolness","followers_url":"https://api.github.com/users/toolness/followers","following_url":"https://api.github.com/users/toolness/following{/other_user}","gists_url":"https://api.github.com/users/toolness/gists{/gist_id}","starred_url":"https://api.github.com/users/toolness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolness/subscriptions","organizations_url":"https://api.github.com/users/toolness/orgs","repos_url":"https://api.github.com/users/toolness/repos","events_url":"https://api.github.com/users/toolness/events{/privacy}","received_events_url":"https://api.github.com/users/toolness/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T10:35:24Z","updated_at":"2016-06-11T10:35:24Z","body":"Thanks @nthitz ! I agree that it would make sense to remove the previous array example.\r\n\r\nRegarding the use of the word \"element\", it does seem like MDN uses this word in the way @nthitz is using it, e.g. in the docs for [`indexOf`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf). But I agree that some kind of content style guide might be useful here so that all the docs speak in the same voice."}}
{"actor":{"display_login":"toolness"}}