[Webkit-unassigned] [Bug 23884] New: JavaScriptCore allows var foo = "" + + "";

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 10 17:25:57 PST 2009


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

           Summary: JavaScriptCore allows var foo = "" + + "";
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: eric at webkit.org
                CC: ggaren at apple.com


JavaScriptCore allows var foo = "" + + "";

That seems wrong?  foo is NaN after that.  I would expect a syntax error.


-- 
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