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) --> ['a','b',33,'c','d'] a.insert(3, 'one', 'two', 'three') -->['a','b','c','one', 'two', 'three','d'] -- Dimitri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---