[Webkit-unassigned] [Bug 140493] New: Const declaration should throw TypeError if there is another declaration of the same name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 15 00:48:27 PST 2015


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

            Bug ID: 140493
           Summary: Const declaration should throw TypeError if there is
                    another declaration of the same name
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: rniwa at webkit.org

e.g.

const x = 1;
const x = 2;

Should throw a TypeError since x cannot be declared twice.

-- 
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/20150115/bb28dcfa/attachment-0002.html>


More information about the webkit-unassigned mailing list