[Webkit-unassigned] [Bug 28236] New: Inspector: Doesn't Respect javascript's const keyword
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 12 15:47:32 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28236
Summary: Inspector: Doesn't Respect javascript's const keyword
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: joepeck02 at gmail.com
CC: timothy at hatcher.name, aroben at apple.com,
kmccullough at apple.com
It seems a const variable declared in the Console is just a "var" and can
change value.
> zzz // ensure it doesn't exist
ReferenceError: Can't find variable: zzz
> const zzz = 10;
undefined
> zzz = 5; // should do nothing
5
> zzz
5
I would have expected the result to have been 10, since the constant shouldn't
change.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list