Navigator 3.0 with data tainting enabled
The value for which a tainted copy is to be made. If this argument is not specified, then taint() adds taint to the current window instead.
A tainted copy of value, if it is a primitive data type, or a tainted reference to value, if it is an object type.
taint() does not taint the value it is passed; instead, it returns a tainted copy of that value, or a tainted 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.)