This test does a few things:
- It has a couple of:
- It dumps (check the JS console) the images, links and anchors using
the document.images, document.links and document.anchors arrays.
- Then it removes one of the images.
- Dumps the images array again. This is to prove that the images array
is live.
- Adds back the image.
- And the dumps the images array again. The image arrays order should
now be different.
- It gets a list of LIs (using getElementsByTagName()) and prints
out all their tagNames. There should be 10.