The Anchor object inherits the watch
and unwatch methods from
Object, neither of which is supported by Microsoft JScript.
If the Anchor object is also a Link object, it'll have entries in both the anchors and links arrays.
var mystring = "INDEX OF BOOKS"
This example creates an anchor called 'book_anchor' on the string 'INDEX OF BOOKS'
<A NAME="book_anchor">INDEX OF BOOKS</A>
Using the HTML 'A' tag, you can do exactly the same as the above as like this.
This specifies a function to create an object's property and is inherited by all objects from their prototype.
Syntax: Object.prototype.name = value
This allows the addition of properties and methods to any object.
The toSource method returns a literal representing the source code of an object. This can then be used to create a new object.
The toString method returns a string representing a specified object.
This method removes a watchpoint set for an object and property name with the watch method.
This method returns a primitive value for a specified object.
Syntax: Object.watch(property, handlerfunction)
This method adds a watchpoint to a property of the object.