[Webkit-unassigned] [Bug 228064] New: JS binary addition operator does not conform to spec
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 18 14:12:15 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=228064
Bug ID: 228064
Summary: JS binary addition operator does not conform to spec
Product: WebKit
Version: Other
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jules.bertholet at gmail.com
WebKit Version : WebKitGTK 2.32.2
Other browsers tested:
Firefox: 89.0.2: OK
V8 (Chromium/NodeJS/Deno): Same issue
What steps will reproduce the problem?
(1) Evaluate the JavaScript expression "{} + {}"
What is the expected result?
The numeric value "NaN" is returned, as per the spec (https://tc39.es/ecma262/multipage/ecmascript-language-expressions.html#sec-applystringornumericbinaryoperator).
What happens instead?
The string '[object Object][object Object]' is returned.
--
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/20210718/4b69f7c8/attachment.htm>
More information about the webkit-unassigned
mailing list