RESOLVED DUPLICATE of bug 14611 21700
Constants declared with const can be overwritten
https://bugs.webkit.org/show_bug.cgi?id=21700
Summary Constants declared with const can be overwritten
Eli Grey (:sephr)
Reported 2008-10-16 18:17:00 PDT
Constants declared with const can be overwritten by redeclaring the constant again using the const keyword. const foo = 1; const foo = 2; foo == 2
Attachments
Cameron Zwarich (cpst)
Comment 1 2008-10-16 19:59:26 PDT
*** This bug has been marked as a duplicate of 14611 ***
Note You need to log in before you can comment on or make changes to this bug.