`t.deepEqual` seems to ignore symbol key properties
See original GitHub issueDescription
t.deepEqual
is affected by upstream lodash issue. It means that
t.deepEqual({[Symbol()]: undefined}, {})
// true
Relevant Links
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
isEqual seems to ignore symbol key properties · Issue #2840
I'm aware of symbols. It appears you're blanket posting to a bunch of projects. You should be aware that getting symbols isn't cheap...
Read more >How to determine equality for two JavaScript objects?
For simple objects it probably doesn't matter much, but in reality it truly depends on your specific situation. A correct solution may be...
Read more >Symbol - JavaScript - MDN Web Docs
Chrome Edge
Symbol Full support. Chrome38. Toggle history Full support. Edge12. footnote...
@@toPrimitive Full support. Chrome47. Toggle history Full support. Edge15. Toggle...
Symbol() constructor Full support....
Read more >Expect / Should - Chai
When the target is a non-function object, .empty asserts that the target doesn't have any own enumerable properties. Properties with Symbol-based keys are ......
Read more >Attributes of object properties in JavaScript
Each property associates a key with attributes (think fields in a record). ... If it is false , then those operations ignore the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah yep, will do. Look for it some time on the 9th.Updated
lodash.isequal
to v4.5.0.There has been a release of v4.17.4 but not of lodash.isequal, which is what we use. @jdalton, will you please publish that?