[Webkit-unassigned] [Bug 91270] New: a = data[a]++; sets the wrong key in data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 13 12:51:55 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91270
Summary: a = data[a]++; sets the wrong key in data
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: malteubl at google.com
Hey,
this code has different behavior in JSC from all other engines.
var data = {'test': 0};
var a = 'test';
a = data[a]++;
Data now contains {"test":0,"0":1} instead of {"test":1}
--
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