[Webkit-unassigned] [Bug 28236] Inspector: Doesn't Respect javascript's const keyword

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 12 15:54:31 PDT 2009


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





--- Comment #1 from Joseph Pecoraro <joepeck02 at gmail.com>  2009-08-12 15:54:30 PDT ---
Maybe this is actually a problem with eval():

Expected Behavior without eval:

    javascript:const zza = 10; zza = 5; alert(zza) => 10

Bad Behavior with eval:

    javascript:alert(eval("const zzb = 10; zzb = 5; zzb")) => 5

How should this bug be reclassified?

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