-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
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
Object initializer for complex object( object inside object) #2597
Comments
also I verified this in babel and chrome 44 and this example:
works as expected:
so this is definitely bug. |
That nested case is weird, however, this is essentially a dupe of #2507 and is not something we can address while V8 4.4 is still being maintained upstream. It may be fixed by patching V8 later but that's still to be decided. I suggest you just don't use this feature with versions of Node / io.js that are shipping with V8 4.4. |
OK) thank a lot for quick response) |
Hi every one. I found next problem:
is equal to:
on the other hand this construction:
work fine:
I didn't find any descriptions for complex object in specification.
Can I initialize objects like in first example or this is a bug ?
The text was updated successfully, but these errors were encountered: