window.dump()
Prints messages to the console.
Syntax
window.dump(text)
Parameters
Example
doc= window.document; window.dump(doc.title); // prints the current document's title to the console.
Notes
If you have no console available, this method prints nothing but doesn't raise an error. window.dump is commonly used to print statements to the console can be used to debug JavaScript used to access the DOM.
Specification
DOM Level 0. Not part of specification.
Netscape Communications http://developer.netscape.com |