[Prototype-core] Re: Array.insert

2008-03-28 Thread koozdra
, Ken Snyder [EMAIL PROTECTED] wrote: koozdra wrote: I propose the addition of Array.insert(index, insertee [,...]). This method would would be like Ruby's insert. Inserts the given values before the element with the given index -http://www.ruby-doc.org/core/classes/Array.html#M002195 var

[Prototype-core] Array.insert

2008-03-27 Thread koozdra
I propose the addition of Array.insert(index, insertee [,...]). This method would would be like Ruby's insert. Inserts the given values before the element with the given index - http://www.ruby-doc.org/core/classes/Array.html#M002195 var a = ['a','b','c','d'] a.insert(2, 33) --

[Prototype-core] Array.insert

2008-03-27 Thread koozdra
I propose the addition of Array.insert(index, insertee [,...]). This method would would be like Ruby's insert. Inserts the given values before the element with the given index - http://www.ruby-doc.org/core/classes/Array.html#M002195 var a = ['a','b','c','d'] a.insert(2, 33) --