Updates:
Status: WorkingAsIntended
Comment #1 on issue 768 by [email protected]: Literal object Defects in
devtools if not assigned
http://code.google.com/p/v8/issues/detail?id=768
The problem is that JavaScript treats {a:1} in a statement position as a
block statement with a labelled expression statement (label a, expression
statement 1) inside it. If you have object literals at statement positions
in your code, you need to wrap them in parentheses to force them to be
evaluated as expressions, not statements.
I hope this helps.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev