[Webkit-unassigned] [Bug 24156] New: Unary + conversion to number fails for negative hexadecimals
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 25 01:47:21 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=24156
Summary: Unary + conversion to number fails for negative
hexadecimals
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://groups.google.com/group/comp.lang.javascript/msg/
8f8fcfdc42ee3960
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jorgechamorro at mac.com
See:
javascript:s= "0x12";alert((+s)+ ","+ parseInt(s,16)); //-> 18,18
but:
javascript:s= "-0x12";alert((+s)+ ","+ parseInt(s,16)); //-> NaN,-18
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list