The value of this property is defined by the NAME="..." tag attribute in the HTML that describes the document. Without the NAME attribute the anchor object does not get added to the anchors array.
This only works on MSIE and not in Netscape. This is because Netscape maintains links and anchors as strictly different things altogether. MSIE treats them as the same class of object.
Logically there is not much purpose in changing the name of a link anyway.
Be aware in MSIE that assigning a new name will affect the length of the document.anchors array even though the item is rightly a link object.