DEV Community

Discussion on: Simplest way to compare two numbers array in JS

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Whether that's a drawback or by design is questionable; whether two identical objects should be treated as actually the same completely depends on your problem domain.

Thread Thread
 
0shuvo0 profile image
Shuvo

agreed 100%