ES5 Shim
The find()
method returns the value of the first element in the array that satisfies the provided testing function. Otherwise undefined is returned.
Source: MDN
npm install @extendscript/aes.patch.array.find
#include 'node_modules/@extendscript/aes.patch.array.find/find.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