ECMAScript 5 supports a method for Arrays called reduce().
Yes, the variable a is an array, freshly generated by a call to arrayfromargs(arguments).
I suppose I'll have to use forEach or [gasp!] a plain-vanilla for loop to get the result I want. Or am I missing something? As in: is there any way to get the js object to grok Array.reduce()?
Most other ECMAScript 5 methods are supported by, so I was a bit surprised about this.