Bug 170807

Summary: Object literal syntax creates extra (not-specified) properties
Product: WebKit Reporter: Dominic Szablewski <dominic.szablewski>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical    
Priority: P2    
Version: Safari 10   
Hardware: iPhone / iPad   
OS: iOS 10   

Dominic Szablewski
Reported 2017-04-13 09:32:01 PDT
var obj = {"512":1.0, "1024":2.0}; console.log(obj); // {0: NaN, 1: NaN, 2: NaN, 3: NaN, 4: NaN, 5: NaN, 6: NaN, 7: NaN, 8: NaN, 9: NaN, …} Tested on iOS 10.3.1
Attachments
Dominic Szablewski
Comment 1 2017-04-13 14:29:43 PDT
*** This bug has been marked as a duplicate of bug 164412 ***
Note You need to log in before you can comment on or make changes to this bug.