{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/5818","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/5818/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5818/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/5818/events","html_url":"https://github.com/nodejs/node/pull/5818","id":142324489,"number":5818,"title":"events: make eventNames() use Reflect.ownKeys()","user":{"login":"lpinca","id":1443911,"avatar_url":"https://avatars.githubusercontent.com/u/1443911?v=3","gravatar_id":"","url":"https://api.github.com/users/lpinca","html_url":"https://github.com/lpinca","followers_url":"https://api.github.com/users/lpinca/followers","following_url":"https://api.github.com/users/lpinca/following{/other_user}","gists_url":"https://api.github.com/users/lpinca/gists{/gist_id}","starred_url":"https://api.github.com/users/lpinca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpinca/subscriptions","organizations_url":"https://api.github.com/users/lpinca/orgs","repos_url":"https://api.github.com/users/lpinca/repos","events_url":"https://api.github.com/users/lpinca/events{/privacy}","received_events_url":"https://api.github.com/users/lpinca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/events","name":"events","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-03-21T11:47:37Z","updated_at":"2016-03-21T14:13:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5818","html_url":"https://github.com/nodejs/node/pull/5818","diff_url":"https://github.com/nodejs/node/pull/5818.diff","patch_url":"https://github.com/nodejs/node/pull/5818.patch"},"body":"### Pull Request check-list\r\n\r\n_Please make sure to review and check all of these items:_\r\n\r\n- [x] Does `make -j8 test` (UNIX) or `vcbuild test nosign` (Windows) pass with\r\n  this change (including linting)?\r\n- [x] Is the commit message formatted according to CONTRIBUTING.md?\r\n- [ ] If this change fixes a bug (or a performance problem), is a regression\r\n  test (or a benchmark) included?\r\n- [ ] Is a documentation update included (if this change modifies\r\n  existing APIs, or introduces new ones)?\r\n\r\n### Affected core subsystem(s)\r\n\r\nevents\r\n\r\n### Description of change\r\n\r\nUse [`Reflect.ownKeys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys) instead of [`Object.keys()`](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Object/keys) and [`Object.getOwnPropertySymbols()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols)."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/199302870","html_url":"https://github.com/nodejs/node/pull/5818#issuecomment-199302870","issue_url":"https://api.github.com/repos/nodejs/node/issues/5818","id":199302870,"user":{"login":"lpinca","id":1443911,"avatar_url":"https://avatars.githubusercontent.com/u/1443911?v=3","gravatar_id":"","url":"https://api.github.com/users/lpinca","html_url":"https://github.com/lpinca","followers_url":"https://api.github.com/users/lpinca/followers","following_url":"https://api.github.com/users/lpinca/following{/other_user}","gists_url":"https://api.github.com/users/lpinca/gists{/gist_id}","starred_url":"https://api.github.com/users/lpinca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpinca/subscriptions","organizations_url":"https://api.github.com/users/lpinca/orgs","repos_url":"https://api.github.com/users/lpinca/repos","events_url":"https://api.github.com/users/lpinca/events{/privacy}","received_events_url":"https://api.github.com/users/lpinca/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T14:13:26Z","updated_at":"2016-03-21T14:13:26Z","body":"I've update the pr to use `Reflect.ownKeys()`. Feel free to close it if performances are too bad."}}