Hi Christophe, Effectivelly, this method is supress in v1.6.1. To have the reason, try the prototype core GG groups.
You can add it yourself: Object.extend(Array.prototype,{ reduce: function(){ return this.length > 1 ? this : this[0]; } }); I did not try, but there is no reason it did not work. -- david On 15 oct, 20:37, Christophe <cdebuss...@gmail.com> wrote: > Hi, > > I have seen that in the new version of prototype, the Array#reduce was > removed. Is there another way to do the same ? > > Thx for your help ! > > Christophe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---