Closed
Bug 1322102
Opened 8 years ago
Closed 6 years ago
Console display an number index object as an array
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: dindog, Unassigned)
Details
>> foo={"1":{},"2":{}} << Object [ null, Object, Object ] >> bar={"a":{},"b":{}} << Object { a: Object, b: Object } Is it a bug or designed that way?
Note: 1. Reproduce the bug in Firefox 53 Nightly 2. A better self-explained example: >> foo={"1":{},"2":{}, "34234234": 3} << Object [ null, Object, Object, null, null, null, null, null, null, null, 34234225 more… ]
Updated•8 years ago
|
Component: JavaScript Engine → Developer Tools: Console
Product: Core → Firefox
Comment 2•8 years ago
|
||
(In reply to dindog from comment #0) > >> foo={"1":{},"2":{}} > << Object [ null, Object, Object ] > > >> bar={"a":{},"b":{}} > << Object { a: Object, b: Object } > > Is it a bug or designed that way? I think it's a wanted behavior (see Bug 1301794), but in the code from comment 2, I can see it being a problem.
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 3•6 years ago
|
||
STR from comment 0 works fine in current Nightly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•