Hi guys.
A object in Javascript have a lot of properties and got this code:
var div = document.getElementsByTagName ("div");
if (div[2] === div[2]) { alert ("..."); }
There is no "id", "class", "name" or "value", so how can "div[2] === div[2]" works ? What property of the object JavaScript uses to compare ?
Thank you.