Evaluating an object declaration the console shows the last sub-expression as the result, not the object result.
Created attachment 22855 [details] Proposed patch
Landed in r35834.