Skip to content

Files

Latest commit

 

History

History
25 lines (13 loc) · 895 Bytes

File metadata and controls

25 lines (13 loc) · 895 Bytes

array.lastindexof

version

ES5 Shim

The lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at fromIndex.

Source: ps-scripting-es5shim

Install

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

Include

#include 'node_modules/@extendscript/aes.patch.array.lastindexof/lastindexof.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