title: Array.insert function error as Object function Array() { [native code] } has no method 'insert'
body: <p>I am working with javascript, HTML, HTTPHandlers and i have used a line in javascript as </p>
  
  <pre><code>Array.insert( Garray, eval(firstmarker), tmparray);
  </code></pre>
  
  <p>for this line in Goggle Chrome console have found an error as:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Object function Array() { [native code] } has no method 'insert'</p>
  </blockquote>
  
  <p>In the above line the <code>tmparray</code> contains values and the <code>Garray</code> is an array declared globally as</p>
  
  <pre><code>var Garray = [];
  </code></pre>
  
  <p><code>eval(firstmarker)</code> has the position and initially that is taken as undefined but even if i pass manually 0 it shows the above error in Console.</p>
  
  <p>And the <code>Array.Insert</code> method found from the link below:</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/bb383995.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb383995.aspx</a></p>
  
  <p>I have tried alternatives for this as <code>Arrayname.splice</code> method and also <code>Arrayname.push</code>method but it is not working so Can you please help me to solve the above error.</p>
  
  <p>Thanking you in advance!</p>