{"action":"created","issue":{"url":"https://api.github.com/repos/airbnb/javascript/issues/851","repository_url":"https://api.github.com/repos/airbnb/javascript","labels_url":"https://api.github.com/repos/airbnb/javascript/issues/851/labels{/name}","comments_url":"https://api.github.com/repos/airbnb/javascript/issues/851/comments","events_url":"https://api.github.com/repos/airbnb/javascript/issues/851/events","html_url":"https://github.com/airbnb/javascript/issues/851","id":150585208,"number":851,"title":"Using 'ForInStatement' is not allowed (no-restricted-syntax)","user":{"login":"francoisromain","id":156539,"avatar_url":"https://avatars2.githubusercontent.com/u/156539?v=3","gravatar_id":"","url":"https://api.github.com/users/francoisromain","html_url":"https://github.com/francoisromain","followers_url":"https://api.github.com/users/francoisromain/followers","following_url":"https://api.github.com/users/francoisromain/following{/other_user}","gists_url":"https://api.github.com/users/francoisromain/gists{/gist_id}","starred_url":"https://api.github.com/users/francoisromain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoisromain/subscriptions","organizations_url":"https://api.github.com/users/francoisromain/orgs","repos_url":"https://api.github.com/users/francoisromain/repos","events_url":"https://api.github.com/users/francoisromain/events{/privacy}","received_events_url":"https://api.github.com/users/francoisromain/received_events","type":"User","site_admin":false},"labels":[{"id":18135606,"url":"https://api.github.com/repos/airbnb/javascript/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":87,"created_at":"2016-04-23T19:01:41Z","updated_at":"2017-05-22T19:49:15Z","closed_at":"2016-04-23T21:16:23Z","body":"Since version 8, there is this error on for in loops. \nWhat should be used in place of for-in loops ?\nThanks\n"},"comment":{"url":"https://api.github.com/repos/airbnb/javascript/issues/comments/303201574","html_url":"https://github.com/airbnb/javascript/issues/851#issuecomment-303201574","issue_url":"https://api.github.com/repos/airbnb/javascript/issues/851","id":303201574,"user":{"login":"ljharb","id":45469,"avatar_url":"https://avatars2.githubusercontent.com/u/45469?v=3","gravatar_id":"","url":"https://api.github.com/users/ljharb","html_url":"https://github.com/ljharb","followers_url":"https://api.github.com/users/ljharb/followers","following_url":"https://api.github.com/users/ljharb/following{/other_user}","gists_url":"https://api.github.com/users/ljharb/gists{/gist_id}","starred_url":"https://api.github.com/users/ljharb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljharb/subscriptions","organizations_url":"https://api.github.com/users/ljharb/orgs","repos_url":"https://api.github.com/users/ljharb/repos","events_url":"https://api.github.com/users/ljharb/events{/privacy}","received_events_url":"https://api.github.com/users/ljharb/received_events","type":"User","site_admin":false},"created_at":"2017-05-22T19:49:15Z","updated_at":"2017-05-22T19:49:15Z","body":"@grundmanise yes! Although it'd be even better like so:\r\n```js\r\nconst result = Object.entries(params).reduce((acc, [prop, value]) => ({\r\n  ...acc,\r\n  [`${key}[${prop}]`]: value,\r\n}), {});`\r\n```"}}
{"actor":{"display_login":"ljharb"}}