isEqualNode js
snippet in javascript

isEqualNode js

user7743

var item1 = document.getElementById("myList1").firstChild;
var item2 = document.getElementById("myList2").firstChild;
var x = item1.isEqualNode(item2);