We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Seems like this problem is related to v8. Following code (using iojs@3.1)
var prop = 'age' var val = 42 console.log([{ name: "ivan", [prop]: val }]) console.log({ name: "ivan", [prop]: val })
produces output
[ { name: 'ivan' } ] { name: 'ivan', age: 42 }
The text was updated successfully, but these errors were encountered:
This seems to be a bug on v8 and not related in any way with Typescript.
console.log({["age"]: 42}) // {age: 42} console.log([{["age"]: 42}]) // [{}]
Sorry, something went wrong.
Ough!)) I've mixed up issue trackers)). Sorry
No branches or pull requests
Seems like this problem is related to v8. Following code (using iojs@3.1)
produces output
The text was updated successfully, but these errors were encountered: