{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/7902","repository_url":"https://api.github.com/repos/facebook/react","labels_url":"https://api.github.com/repos/facebook/react/issues/7902/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/7902/comments","events_url":"https://api.github.com/repos/facebook/react/issues/7902/events","html_url":"https://github.com/facebook/react/issues/7902","id":181510216,"number":7902,"title":"Strange second argument passed to event handler (always undefined)","user":{"login":"achugaev93","id":6230776,"avatar_url":"https://avatars.githubusercontent.com/u/6230776?v=3","gravatar_id":"","url":"https://api.github.com/users/achugaev93","html_url":"https://github.com/achugaev93","followers_url":"https://api.github.com/users/achugaev93/followers","following_url":"https://api.github.com/users/achugaev93/following{/other_user}","gists_url":"https://api.github.com/users/achugaev93/gists{/gist_id}","starred_url":"https://api.github.com/users/achugaev93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achugaev93/subscriptions","organizations_url":"https://api.github.com/users/achugaev93/orgs","repos_url":"https://api.github.com/users/achugaev93/repos","events_url":"https://api.github.com/users/achugaev93/events{/privacy}","received_events_url":"https://api.github.com/users/achugaev93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-06T19:55:53Z","updated_at":"2016-10-07T12:31:22Z","closed_at":null,"body":"I've found a bug.\r\n\r\nI've attached event listener with `onClick` property like this:\r\n\r\n```jsx\r\n<a href=\"#\" onClick={function (event) {\r\n    console.log(arguments.length);   // prints 2\r\n    // arguments[0] = SyntheticEvent - it's ok\r\n    // arguments[1] = undefined - what is this???\r\n}}>Click me</a>\r\n```\r\n\r\nThe event listener called with 2 arguments: synthetic event and strange undefined value.\r\n\r\nI think, normal behavior is when handler called with a *single* param - event object.\r\n\r\nWindows 10. Chrome 53. React version - 15.2.0.\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/252240192","html_url":"https://github.com/facebook/react/issues/7902#issuecomment-252240192","issue_url":"https://api.github.com/repos/facebook/react/issues/7902","id":252240192,"user":{"login":"syranide","id":1714255,"avatar_url":"https://avatars.githubusercontent.com/u/1714255?v=3","gravatar_id":"","url":"https://api.github.com/users/syranide","html_url":"https://github.com/syranide","followers_url":"https://api.github.com/users/syranide/followers","following_url":"https://api.github.com/users/syranide/following{/other_user}","gists_url":"https://api.github.com/users/syranide/gists{/gist_id}","starred_url":"https://api.github.com/users/syranide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syranide/subscriptions","organizations_url":"https://api.github.com/users/syranide/orgs","repos_url":"https://api.github.com/users/syranide/repos","events_url":"https://api.github.com/users/syranide/events{/privacy}","received_events_url":"https://api.github.com/users/syranide/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T12:31:22Z","updated_at":"2016-10-07T12:31:22Z","body":"Perhaps it's a browser thing, looking at the callstack I don't really see how or why it would be more than 1 argument."}}
{"actor":{"display_login":"syranide"}}