- Version: v15.0.1
- Platform:
Linux solus 5.6.19-159.current #1 SMP PREEMPT Fri Oct 16 17:49:06 UTC 2020 x86_64 GNU/Linux - Subsystem: util
What steps will reproduce the bug?
constutil=require('util');classX{constructor(){this._y=123;}gety(){returnthis._y;}}console.log(util.inspect(newX(),{colors: true,getters: true,showHidden: true}));How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
X { _y: 123, [y]: [Getter: 123] }
What do you see instead?
X { _y: 123, [y]: [Getter: undefined] }
Additional information
May be related with #35956
Linux solus 5.6.19-159.current #1 SMP PREEMPT Fri Oct 16 17:49:06 UTC 2020 x86_64 GNU/LinuxWhat steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
What do you see instead?
Additional information
May be related with #35956