{"action":"created","issue":{"url":"https://api.github.com/repos/tc39/proposals/issues/24","repository_url":"https://api.github.com/repos/tc39/proposals","labels_url":"https://api.github.com/repos/tc39/proposals/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/tc39/proposals/issues/24/comments","events_url":"https://api.github.com/repos/tc39/proposals/issues/24/events","html_url":"https://github.com/tc39/proposals/issues/24","id":177568396,"number":24,"title":"Array.forEach should return promise","user":{"login":"nitinbansal1989","id":1055173,"avatar_url":"https://avatars.githubusercontent.com/u/1055173?v=3","gravatar_id":"","url":"https://api.github.com/users/nitinbansal1989","html_url":"https://github.com/nitinbansal1989","followers_url":"https://api.github.com/users/nitinbansal1989/followers","following_url":"https://api.github.com/users/nitinbansal1989/following{/other_user}","gists_url":"https://api.github.com/users/nitinbansal1989/gists{/gist_id}","starred_url":"https://api.github.com/users/nitinbansal1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitinbansal1989/subscriptions","organizations_url":"https://api.github.com/users/nitinbansal1989/orgs","repos_url":"https://api.github.com/users/nitinbansal1989/repos","events_url":"https://api.github.com/users/nitinbansal1989/events{/privacy}","received_events_url":"https://api.github.com/users/nitinbansal1989/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-17T10:26:31Z","updated_at":"2016-09-17T13:05:41Z","closed_at":null,"body":"I have a proposal as forEach function of array should return a promise of void. As the function is async, while coupling it with asynchronous \"behavior\" and yield is not working."},"comment":{"url":"https://api.github.com/repos/tc39/proposals/issues/comments/247768409","html_url":"https://github.com/tc39/proposals/issues/24#issuecomment-247768409","issue_url":"https://api.github.com/repos/tc39/proposals/issues/24","id":247768409,"user":{"login":"dallonf","id":346300,"avatar_url":"https://avatars.githubusercontent.com/u/346300?v=3","gravatar_id":"","url":"https://api.github.com/users/dallonf","html_url":"https://github.com/dallonf","followers_url":"https://api.github.com/users/dallonf/followers","following_url":"https://api.github.com/users/dallonf/following{/other_user}","gists_url":"https://api.github.com/users/dallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/dallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dallonf/subscriptions","organizations_url":"https://api.github.com/users/dallonf/orgs","repos_url":"https://api.github.com/users/dallonf/repos","events_url":"https://api.github.com/users/dallonf/events{/privacy}","received_events_url":"https://api.github.com/users/dallonf/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T13:05:41Z","updated_at":"2016-09-17T13:05:41Z","body":"`Array.forEach` is async? That's news to me! Can you link to the source of that information?\r\n\r\nIt actually doesn't seem to be the case... running this snippet in the Chrome and Firefox consoles:\r\n```\r\n[1, 2, 3].forEach(i => console.log(i));\r\nconsole.log(4);\r\n```\r\n\r\nlogs \"1, 2, 3, 4\" as expected if `forEach` were synchronous."}}
{"actor":{"display_login":"dallonf"}}