{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2793","labels_url":"https://api.github.com/repos/nodejs/node/issues/2793/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2793/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2793/events","html_url":"https://github.com/nodejs/node/issues/2793","id":105792324,"number":2793,"title":"Array spread produces empty array when used in object literal","user":{"login":"afaubert","id":790883,"avatar_url":"https://avatars.githubusercontent.com/u/790883?v=3","gravatar_id":"","url":"https://api.github.com/users/afaubert","html_url":"https://github.com/afaubert","followers_url":"https://api.github.com/users/afaubert/followers","following_url":"https://api.github.com/users/afaubert/following{/other_user}","gists_url":"https://api.github.com/users/afaubert/gists{/gist_id}","starred_url":"https://api.github.com/users/afaubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afaubert/subscriptions","organizations_url":"https://api.github.com/users/afaubert/orgs","repos_url":"https://api.github.com/users/afaubert/repos","events_url":"https://api.github.com/users/afaubert/events{/privacy}","received_events_url":"https://api.github.com/users/afaubert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/v8","name":"v8","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-09-10T12:03:18Z","updated_at":"2015-09-10T21:18:31Z","closed_at":null,"body":"Running the following code with the array spread feature enabled\r\n\r\n```javascript\r\nvar x = [1];\r\nconsole.log([...x]);\r\nconsole.log({x: [...x]});\r\n```\r\n\r\nproduces this output\r\n\r\n```\r\n$ node --harmony_spread_arrays test.js\r\n[ 1 ]\r\n{ x: [] }\r\n```\r\n\r\nThis is in node 4.0.0. I also observed this when `x` was a `Map` or a `Set`."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/139382112","html_url":"https://github.com/nodejs/node/issues/2793#issuecomment-139382112","issue_url":"https://api.github.com/repos/nodejs/node/issues/2793","id":139382112,"user":{"login":"afaubert","id":790883,"avatar_url":"https://avatars.githubusercontent.com/u/790883?v=3","gravatar_id":"","url":"https://api.github.com/users/afaubert","html_url":"https://github.com/afaubert","followers_url":"https://api.github.com/users/afaubert/followers","following_url":"https://api.github.com/users/afaubert/following{/other_user}","gists_url":"https://api.github.com/users/afaubert/gists{/gist_id}","starred_url":"https://api.github.com/users/afaubert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afaubert/subscriptions","organizations_url":"https://api.github.com/users/afaubert/orgs","repos_url":"https://api.github.com/users/afaubert/repos","events_url":"https://api.github.com/users/afaubert/events{/privacy}","received_events_url":"https://api.github.com/users/afaubert/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T21:18:30Z","updated_at":"2015-09-10T21:18:30Z","body":"Great, thanks everyone!"}}