As from The Definitive Guide to Javascript. Objects are not compared by value : two objects are not equal even if they have the same properties and values. This is true of arrays too: even if they have the same values in the same order.
As from The Definitive Guide to Javascript. Objects are not compared by value : two objects are not equal even if they have the same properties and values. This is true of arrays too: even if they have the same values in the same order.