unexpected diff on assert.deepStrictEqual
Version
v20.5.0 (tried on node 16 and 21)
Platform
([ronment]::OSVersion.VersionString) x64
What steps will reproduce the bug?
require("assert").deepStrictEqual( { common: {}, key1: "", creator: "123", }, { creator: "123", }, );
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
Only comon and key1 exist so
{
+ common: {},
+ key1: ''
}What do you see instead?
{
+ common: {},
+ creator: '123',
+ key1: ''
- creator: '123'
}Additional information
No response