Closed
Bug 1898871
Opened 11 months ago
Closed 11 months ago
Display class name when displaying an object in the console
Categories
(DevTools :: Console, defect)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1526688
People
(Reporter: calixte, Unassigned)
Details
STR:
- open the console;
- enter
class A {};console.log(new A());
Expected result:
Something like > A {}
.
Actual result:
> Object {}
It's especially useful when B
is derived from A
and we want to know if the dumped object is a A
or a B
instance.
Comment 1•11 months ago
|
||
This looks like Bug 1526688 , which we should really look into at some point
You need to log in
before you can comment on or make changes to this bug.
Description
•