title: IE6 alerting an array does not show anything
body: <p>First of all, the full code is at work so I'm reciting from memory.</p>
  
  <p>There is a js file with containing an object defined like this:</p>
  
  <pre><code>function SomeObject(someArg) {
   this.someMember = someVar.split(".");
  
   ...
   this.someFunc = function() {
    return this.someMember;
   }
   ...
  }
  </code></pre>
  
  <p>There is another js file which uses this object and has a function that looks something like this:</p>
  
  <pre><code>someOtherFunc(SomeObject):
     var someOtherVar = SomeObject.someFunc();
     var length = someOtherVar.length;
     ....
  </code></pre>
  
  <p>Now when I add an alert(SomeObject.someFunc()) at the beginning of someOtherFunc all I see is an empty box. However, when I alert SomeObject.someFunc().length I get 1 (because the array has one element). Yet, I have a "length is an undefined..." where var length is defined. Also, when I alert SomeObject.someFunc()[0] I have the value of the element shown (it's a string).</p>
  
  <p>I know it's IE6 (don't ask) and I couldn't provide much context, but I'm still hoping this issue is somewhat known or has some explanation or a workaround.</p>