[Webkit-unassigned] [Bug 228064] JS binary addition operator does not conform to spec

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 19 15:14:18 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228064

--- Comment #4 from Jules Bertholet <jules.bertholet at gmail.com> ---
(In reply to Sam Sneddon [:gsnedders] from comment #3)
> Where are you evaluating it?
> 
> "[object Object][object Object]" is what I'd expect if it's being evaluated
> as a statement and not as an expression (as then you have an empty
> BlockStatement followed by a UnaryExpression, and not an AdditiveExpression).

In the browser console; running the statement alone gives the same result as assigning to a variable. Substituting "{}" by another object also exhibits the same issue

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210719/65c6b8db/attachment.htm>


More information about the webkit-unassigned mailing list