Open
Bug 1759823
Opened 3 years ago
Private getter appears in the object summary
Categories
(DevTools :: Object Inspector, defect, P3)
DevTools
Object Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: nchevobbe, Unassigned)
Details
Steps to reproduce
- Open the console
- Evaluate the following
new(class {
#private = 'private';
get #privateGetter() { return this.#private }
})()
Expected results
As with regular getters, the private getter isn't displayed in the object summary, and we get Object { #private: "private" } in the console
Actual results
The following is displayed Object { #privateGetter: undefined, #private: "private" }
You need to log in
before you can comment on or make changes to this bug.
Description
•