Version
All
Platform
Subsystem
console/util.inspect
What steps will reproduce the bug?
constp=newProxy({},{ownKeys(){return['a'];},getOwnPropertyDescriptor(){return{value: 1,writable: false,enumerable: true,configurable: true};},has(){returntrue;},get(){return1;},});console.log(p);// Outputs '{}'How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Ideally, the output would include all enumerable properties, just like it would with a normal, non-proxy object.
What do you see instead?
{} ... omitting the enumerable ownKeys
Additional information
No response
Version
All
Platform
Subsystem
console/util.inspect
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Ideally, the output would include all enumerable properties, just like it would with a normal, non-proxy object.
What do you see instead?
{}... omitting the enumerable ownKeysAdditional information
No response