βοΈObject.equals
dotEquals
Check if two objects / arrays are equal!
Examples
object.js
$ node object.js
array.js
$ node array.js
Use
Object
First, require the namespace dotEquals
Then using Object.equals
you can compare 2 objects to tell if they are equal
Array
First, require the namespace dotEquals
Then using Array.equals
you can compare 2 arrays to tell if they are equal
Last updated