What causes "Bad variable type." in JavaScript?
I have a value in an array which displays the value "Bad variable type." and the type "Variant" when viewed in IE debugger. What could cause this error?

The value should be a string and the only operation on that array item in the JavaScript is to copy it to the .firstChild.nodeValue of a page element.
What causes "Bad variable type." in JavaScript?
===

I have a value in an array which displays the value "Bad variable type." and the type "Variant" when viewed in IE debugger. What could cause this error?

The value should be a string and the only operation on that array item in the JavaScript is to copy it to the .firstChild.nodeValue of a page element.