Skip to content

Files

Latest commit

author
Bruno Herfst
Aug 17, 2018
4695657 · Aug 17, 2018

History

History

array.reduce

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Aug 14, 2018
Jul 16, 2018
Aug 17, 2018
Aug 14, 2018
Aug 14, 2018

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