Closed Bug 1667945 Opened 4 years ago Closed 4 years ago

Print object type in debug console

Categories

(DevTools :: Console, enhancement)

Firefox 81
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1526688

People

(Reporter: andrey.w.v, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0

Steps to reproduce:

Write to debug console:

class A{}
const a = new A()
a

Actual results:

Prints
< Object { }

Expected results:

Print
< A {}

Helpful feature for web-developers

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Printing: Output
Product: Firefox → Core
Component: Printing: Output → Console
Product: Core → DevTools

Thanks for filing this Andrey.
It does looks similar to Bug 1526688, so I'm going to close it.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.