ES5 Shim
The indexOf()
method searches the array for the specified item, and returns its position.
Source: ps-scripting-es5shim
npm install @extendscript/aes.patch.array.indexof
#include 'node_modules/@extendscript/aes.patch.array.indexof/indexof.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