[Webkit-unassigned] [Bug 21700] New: constants declared with const can be overwritten

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 16 18:17:00 PDT 2008


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

           Summary: constants declared with const can be overwritten
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P5
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugzilla at eligrey.com


Constants declared with const can be overwritten by redeclaring the constant
again using the const keyword.

const foo = 1; const foo = 2; foo == 2


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