Part of the netscape.javascript package included with Navigator 3.0
public String toString()
none
The string returned by invoking the toString() method of the JavaScript object represented by the specified Java JSObject.
The toString() method of the Java JSObject class invokes the JavaScript toString() method of the JavaScript object represented by a JSObject and returns the result of that method.
Because the Java toString() method of a JSObject simply invokes the JavaScript toString() method of the JavaScript object represented by that JSObject, Java is guaranteed to convert any JSObject to a string in the same way that JavaScript does.