I'm working together with our friend @Paul-Reed on a new node.
But now we are completely stuck...
We create an object and pass it to a third-party library:
The library checks whether it is a plain object:
However seems that the second check fails:
Object.getPrototypeOf(obj) === Object.prototype
So I installed an npm library to find the differences between both prototypes, but it gives me no differences:
And when I convert the object to a json string and back to an object it is also fine:
I have no clue what is going wrong
Does anybody can explain this behaviour and how I can solve it (without converting to a string and back)?