Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 773 Bytes

File metadata and controls

25 lines (13 loc) · 773 Bytes

array.indexof

version

ES5 Shim

The indexOf() method searches the array for the specified item, and returns its position.

Source: ps-scripting-es5shim

Install

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

Include

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