1 <a href=
"/sometestfile.html" id=
"anchor">
8 if (window
.layoutTestController
)
9 layoutTestController
.dumpAsText();
11 var anchor
= document
.getElementById("anchor");
12 document
.write("Writing just the anchor object - " + anchor
);
14 var anchorString
= String(anchor
);
15 document
.write("<br><br>Writing the result of the String(anchor) - " + anchorString
);
17 var anchorToString
= anchor
.toString();
18 document
.write("<br><br>Writing the result of the anchor's toString() method - " + anchorToString
);