reduceRight()
In Google Apps Script, the reduceRight() method is an array method that works the same way as the reduce() method, but it iterates over the elements in the array from right to left instead of from left to right. The method takes a callback function as an argument, which is called for each element in … Read more