{"action":"created","issue":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3894","labels_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3894/labels{/name}","comments_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3894/comments","events_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3894/events","html_url":"https://github.com/jashkenas/coffeescript/issues/3894","id":60493452,"number":3894,"title":"Allow deconstructing objects with splats","user":{"login":"flying-sheep","id":291575,"avatar_url":"https://avatars.githubusercontent.com/u/291575?v=3","gravatar_id":"","url":"https://api.github.com/users/flying-sheep","html_url":"https://github.com/flying-sheep","followers_url":"https://api.github.com/users/flying-sheep/followers","following_url":"https://api.github.com/users/flying-sheep/following{/other_user}","gists_url":"https://api.github.com/users/flying-sheep/gists{/gist_id}","starred_url":"https://api.github.com/users/flying-sheep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flying-sheep/subscriptions","organizations_url":"https://api.github.com/users/flying-sheep/orgs","repos_url":"https://api.github.com/users/flying-sheep/repos","events_url":"https://api.github.com/users/flying-sheep/events{/privacy}","received_events_url":"https://api.github.com/users/flying-sheep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-10T12:42:33Z","updated_at":"2015-03-12T08:54:54Z","closed_at":null,"body":"…for parity with ECMA7. currently we can’t do this:\r\n\r\n```coffeescript\r\nx =\r\n  a: 1\r\n  b: 2\r\n  c: 3\r\n\r\n{ a, b, y... } = x\r\n# or\r\n{ a, b, ...y } = x\r\n\r\nconsole.log a, b, y  # → 1 2 {c:3}\r\n```"},"comment":{"url":"https://api.github.com/repos/jashkenas/coffeescript/issues/comments/78443158","html_url":"https://github.com/jashkenas/coffeescript/issues/3894#issuecomment-78443158","issue_url":"https://api.github.com/repos/jashkenas/coffeescript/issues/3894","id":78443158,"user":{"login":"flying-sheep","id":291575,"avatar_url":"https://avatars.githubusercontent.com/u/291575?v=3","gravatar_id":"","url":"https://api.github.com/users/flying-sheep","html_url":"https://github.com/flying-sheep","followers_url":"https://api.github.com/users/flying-sheep/followers","following_url":"https://api.github.com/users/flying-sheep/following{/other_user}","gists_url":"https://api.github.com/users/flying-sheep/gists{/gist_id}","starred_url":"https://api.github.com/users/flying-sheep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flying-sheep/subscriptions","organizations_url":"https://api.github.com/users/flying-sheep/orgs","repos_url":"https://api.github.com/users/flying-sheep/repos","events_url":"https://api.github.com/users/flying-sheep/events{/privacy}","received_events_url":"https://api.github.com/users/flying-sheep/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T08:54:54Z","updated_at":"2015-03-12T08:54:54Z","body":"no problem.\r\n\r\nat closing of that other issue: luckily, that’s about something different (i.e. extending objects, not destructuring them)\r\n\r\nand @jashkenas’ argument…\r\n\r\n> Splats are for lists of things\r\n\r\n…is also not valid anymore now that ECMAscript itself uses splats for objects.\r\n\r\nso this should be good to go!"}}