ES5 Shim
The reduceRight()
method applies a function against an accumulator and each value of the array (from right-to-left) to reduce it to a single value.
Source: ps-scripting-es5shim
npm install @extendscript/aes.patch.array.reduceright
#include 'node_modules/@extendscript/aes.patch.array.reduceright/reduceright.js'
You can test the code against a range of targets:
npm run test target-1 target-2
We keep a log of test results