Prototype currently overrides a method from the JavaScript 1.8 specification with a different behavior.
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:reduce To use a similar behavior, reduceRight can be used. However, this does not seem very good for future compatibility. Also, I noticed that a few other methods get redefined, like map(), every(), filter(), some(). I did not verify the implementation details, but I would certainly prefer to use the browser's native implementation when available. Are there any plans for these in future releases? -- LP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---