Navigator 3.0 when data tainting is enabled
The value for which a non-tainted copy is to be made. If this argument is not specified, then untaint() removes taint from the current window instead.
An untainted copy of value, if it is a primitive data type, or an untainted reference to value, if it is an object type.
untaint() does not remove from the taint the value it is passed; instead, it returns an untainted copy of that value, or an untainted reference to that value for object types. (Note that taint is associated with primitive values and with references to objects, not with the objects themselves.)