{"action":"closed","issue":{"url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1441","labels_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1441/labels{/name}","comments_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1441/comments","events_url":"https://api.github.com/repos/jscs-dev/node-jscs/issues/1441/events","html_url":"https://github.com/jscs-dev/node-jscs/issues/1441","id":86269141,"number":1441,"title":"Destructuring default values","user":{"login":"nicolo-ribaudo","id":7000710,"avatar_url":"https://avatars.githubusercontent.com/u/7000710?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolo-ribaudo","html_url":"https://github.com/nicolo-ribaudo","followers_url":"https://api.github.com/users/nicolo-ribaudo/followers","following_url":"https://api.github.com/users/nicolo-ribaudo/following{/other_user}","gists_url":"https://api.github.com/users/nicolo-ribaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolo-ribaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolo-ribaudo/subscriptions","organizations_url":"https://api.github.com/users/nicolo-ribaudo/orgs","repos_url":"https://api.github.com/users/nicolo-ribaudo/repos","events_url":"https://api.github.com/users/nicolo-ribaudo/events{/privacy}","received_events_url":"https://api.github.com/users/nicolo-ribaudo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jscs-dev/node-jscs/labels/esnext","name":"esnext","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-08T17:40:11Z","updated_at":"2015-06-12T12:52:14Z","closed_at":"2015-06-12T12:52:14Z","body":"```js\r\nfunction x({ a = 1 }) {}\r\n```\r\n```json\r\n{\r\n  \"esnext\": true\r\n}\r\n```\r\n\r\nReports `Unexpected token = [parseError]`\r\n\r\nEsprima supports destructuring default values v2.2.0\r\nhttps://github.com/jquery/esprima/pull/1128\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/21017988-destructuring-default-values?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"}}