epoberezkin / fast-deep-equal

The fastest deep equality check with Date, RegExp and ES6 Map, Set and typed arrays support
MIT License
1.86k stars 101 forks source link

bugfix: objects without valueOf and toString function do not throw error #134

Open shiiiiiiji opened 1 year ago

shiiiiiiji commented 1 year ago

Fix #111.

As mentioned in this issue #111,I had the exact same situation.

For the sake of code robustness and reliability, I think this change is necessary.

master-elodin commented 9 months ago

This would be really great to have so I don't have to fork the project just for this one issue!