Skip to content

Latest commit

 

History

History

array.reduce

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

array.reduce

version

ES5 Shim

The Array.reduce() method applies a function against an accumulator and each element in the array (from left to right) to reduce it to a single value.

Source: ps-scripting-es5shim

Install

npm install @extendscript/aes.patch.array.reduce

Include

#include 'node_modules/@extendscript/aes.patch.array.reduce/reduce.js'

Test

You can test the code against a range of targets:

npm run test target-1 target-2

We keep a log of test results