title: array.splice not working
body: <p>i want to remove array element, but giving error while using splice,</p>
  
  <p>i m using following function 
  with myAra as global var,
  but in console ,it is giving me an error, TypeError: myAra.splice is not a function</p>
  
  <pre><code>var myAra = Array();
  function charCounts(e,textAreaId)
  {
      myAra = $("#"+textAreaId).val();
      var countNewLines = stringOccurrences(myAra, "\n");
  
  
      if(myAra.length&gt;75)
      {
          for (var i = 75; i &gt;myAra.length; i++) 
          {
              myAra.splice(i, 1);
  
          }
  
          $("#"+textAreaId).val(myAra);
      }
  }
  </code></pre>