{"action":"closed","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/2507","labels_url":"https://api.github.com/repos/nodejs/node/issues/2507/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/2507/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/2507/events","html_url":"https://github.com/nodejs/node/issues/2507","id":102616212,"number":2507,"title":"Computed props are not properly handled","user":{"login":"lazutkin","id":1035026,"avatar_url":"https://avatars.githubusercontent.com/u/1035026?v=3","gravatar_id":"","url":"https://api.github.com/users/lazutkin","html_url":"https://github.com/lazutkin","followers_url":"https://api.github.com/users/lazutkin/followers","following_url":"https://api.github.com/users/lazutkin/following{/other_user}","gists_url":"https://api.github.com/users/lazutkin/gists{/gist_id}","starred_url":"https://api.github.com/users/lazutkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lazutkin/subscriptions","organizations_url":"https://api.github.com/users/lazutkin/orgs","repos_url":"https://api.github.com/users/lazutkin/repos","events_url":"https://api.github.com/users/lazutkin/events{/privacy}","received_events_url":"https://api.github.com/users/lazutkin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/v8","name":"v8","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-23T12:51:45Z","updated_at":"2015-08-23T20:17:04Z","closed_at":"2015-08-23T20:17:04Z","body":"Repost of microsoft/typescript#4419\r\n\r\n\r\nSeems like this problem is related to v8. Following code (using iojs@3.1)\r\n\r\n```javascript\r\nvar prop = 'age'\r\nvar val = 42\r\nconsole.log([{ name: \"ivan\", [prop]: val }])\r\nconsole.log({ name: \"ivan\", [prop]: val })\r\n```\r\n\r\nproduces output\r\n\r\n```\r\n[ { name: 'ivan' } ]\r\n{ name: 'ivan', age: 42 }\r\n```"}}