{"action":"closed","issue":{"url":"https://api.github.com/repos/jashkenas/underscore/issues/2565","repository_url":"https://api.github.com/repos/jashkenas/underscore","labels_url":"https://api.github.com/repos/jashkenas/underscore/issues/2565/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/underscore/issues/2565/comments","events_url":"https://api.github.com/repos/jashkenas/underscore/issues/2565/events","html_url":"https://github.com/jashkenas/underscore/issues/2565","id":165483776,"number":2565,"title":"each does not return the list","user":{"login":"kallewoof","id":250224,"avatar_url":"https://avatars.githubusercontent.com/u/250224?v=3","gravatar_id":"","url":"https://api.github.com/users/kallewoof","html_url":"https://github.com/kallewoof","followers_url":"https://api.github.com/users/kallewoof/followers","following_url":"https://api.github.com/users/kallewoof/following{/other_user}","gists_url":"https://api.github.com/users/kallewoof/gists{/gist_id}","starred_url":"https://api.github.com/users/kallewoof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kallewoof/subscriptions","organizations_url":"https://api.github.com/users/kallewoof/orgs","repos_url":"https://api.github.com/users/kallewoof/repos","events_url":"https://api.github.com/users/kallewoof/events{/privacy}","received_events_url":"https://api.github.com/users/kallewoof/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-14T06:15:01Z","updated_at":"2016-07-14T09:12:17Z","closed_at":"2016-07-14T09:12:17Z","body":"The docs [http://underscorejs.org/#each] say \"Returns the list for chaining.\" which I presumed meant I could return `_.each(myarray, ...)` but I got `undefined` back.\r\n\r\nA simple test in console gives the same results:\r\n```\r\n> _.each([{a:1},{b:2}], (v) => { v.foo = JSON.stringify(v); })\r\nundefined\r\n```\r\n\r\nGot: `undefined`\r\nExpected: `[{a:1, foo: \"{a:1}\", b:2, foo:\"{b:2}\"}]` (i.e. the list)\r\n"}}
{"actor":{"display_login":"kallewoof"}}