Currently document.GetElementsByTagName, GetElementsByClassName return Element[]. But return value type should be HTMLCollection. GetElementsOfName should returns NodeList object.
All of them should be a 'live collection' which updated on document change.
Currently document.GetElementsByTagName, GetElementsByClassName return Element[]. But return value type should be HTMLCollection. GetElementsOfName should returns NodeList object.
All of them should be a 'live collection' which updated on document change.