Closed Bug 1427758 Opened 6 years ago Closed 6 years ago

Logging Object in console with numbers as keys

Categories

(DevTools :: Console, defect)

57 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1371936

People

(Reporter: markbrown4, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171128222554

Steps to reproduce:

Open up the console and enter

>> ({ 1: 2 })


Actual results:

Object [ <1 empty slot>, 2 ]


Expected results:

Object { 1: 2 }
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
20180103230158

(In reply to Mark Brown from comment #0)
> Expected results:
> 
> Object { 1: 2 }

That's the result I'm getting. Can you reproduce the problem in a brand new profile with the latest Nightly?
https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
https://nightly.mozilla.org
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Component: Untriaged → Developer Tools: Console
Hello Mark, thanks for filing a bug.

I think you are bitten by Bug 1371936, which is fixed in Nightly (and in Beta/DevEdition next week I think). Hence, I am going to close this bug as a duplicate, but feel free to reopen it if you think there is an other issue.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Yep, the issue has been resolved in Nightly 
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.